From 8921b54a1a19668d9542a0848fb0baef66d3d992 Mon Sep 17 00:00:00 2001 From: dgsan Date: Thu, 18 Apr 2013 08:35:56 -0700 Subject: [PATCH] On slower systems the lack of a timeout argument to mocha makes some tests fail after 2 seconds. At least on my rather sad dev box many mysql ops (particularly creating tables) can take quite a bit longer than 2 seconds. Accordingly I've added the moch '--timeout' parameter and set it to 15000, which seems to pass consistently on my dev box. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1bd1651..478ecc3 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ ## TESTS TESTER = ./node_modules/.bin/mocha -OPTS = --growl --globals getSchema +OPTS = --growl --globals getSchema --timeout 15000 TESTS = test/*.test.js test: