Require global leak free node-varnish 0.1.1 (closes #25)
Also stop ignoring leaks and run mocha once for all tests
This commit is contained in:
parent
45b9cac423
commit
e628b8249a
@ -20,9 +20,9 @@
|
||||
"dependencies": {
|
||||
"connect": "1.8.7",
|
||||
"cluster": "0.6.4",
|
||||
"node-varnish": "0.1.0",
|
||||
"node-varnish": "0.1.1",
|
||||
"underscore" : "1.1.x",
|
||||
"windshaft" : "0.4.6",
|
||||
"windshaft" : "0.4.8",
|
||||
"step": "0.0.x",
|
||||
"generic-pool": "1.0.x",
|
||||
"redis": "0.6.7",
|
||||
|
12
run_tests.sh
12
run_tests.sh
@ -31,13 +31,11 @@ cd test; sh prepare_db.sh >> test.log || die "database preparation failure (see
|
||||
|
||||
PATH=node_modules/.bin/:$PATH
|
||||
|
||||
echo "Running unit test"
|
||||
mocha -u tdd test/unit/cartodb/redis_pool.test.js
|
||||
|
||||
echo "Running acceptance tests"
|
||||
# NOTE: leaks detected ! TODO: fix them
|
||||
mocha -u tdd --ignore-leaks test/acceptance/cache_validator.js
|
||||
mocha -u tdd --ignore-leaks test/acceptance/server.js
|
||||
echo "Running tests"
|
||||
mocha -u tdd \
|
||||
test/unit/cartodb/redis_pool.test.js \
|
||||
test/acceptance/cache_validator.js \
|
||||
test/acceptance/server.js
|
||||
|
||||
|
||||
cleanup
|
||||
|
Loading…
Reference in New Issue
Block a user