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.
This commit is contained in:
dgsan 2013-04-18 08:35:56 -07:00
parent 25b8cc8029
commit 8921b54a1a
1 changed files with 1 additions and 1 deletions

View File

@ -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: