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": {
|
"dependencies": {
|
||||||
"connect": "1.8.7",
|
"connect": "1.8.7",
|
||||||
"cluster": "0.6.4",
|
"cluster": "0.6.4",
|
||||||
"node-varnish": "0.1.0",
|
"node-varnish": "0.1.1",
|
||||||
"underscore" : "1.1.x",
|
"underscore" : "1.1.x",
|
||||||
"windshaft" : "0.4.6",
|
"windshaft" : "0.4.8",
|
||||||
"step": "0.0.x",
|
"step": "0.0.x",
|
||||||
"generic-pool": "1.0.x",
|
"generic-pool": "1.0.x",
|
||||||
"redis": "0.6.7",
|
"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
|
PATH=node_modules/.bin/:$PATH
|
||||||
|
|
||||||
echo "Running unit test"
|
echo "Running tests"
|
||||||
mocha -u tdd test/unit/cartodb/redis_pool.test.js
|
mocha -u tdd \
|
||||||
|
test/unit/cartodb/redis_pool.test.js \
|
||||||
echo "Running acceptance tests"
|
test/acceptance/cache_validator.js \
|
||||||
# NOTE: leaks detected ! TODO: fix them
|
test/acceptance/server.js
|
||||||
mocha -u tdd --ignore-leaks test/acceptance/cache_validator.js
|
|
||||||
mocha -u tdd --ignore-leaks test/acceptance/server.js
|
|
||||||
|
|
||||||
|
|
||||||
cleanup
|
cleanup
|
||||||
|
Loading…
Reference in New Issue
Block a user