From a307e1434e2f99ad15c28037d1aa7f4ac4c81c22 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 12 Jul 2012 18:21:39 +0200 Subject: [PATCH] Enable more tests (all the one succeeding for me). Closes #36 The metadata test was probably failing due to the redis_pool test not waiting for redis to complete before exiting (or something like that). --- test/run_tests.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/test/run_tests.sh b/test/run_tests.sh index d463030b..e6829170 100755 --- a/test/run_tests.sh +++ b/test/run_tests.sh @@ -33,13 +33,14 @@ cd test; sh prepare_db.sh >> test.log || die "database preparation failure (see PATH=node_modules/.bin/:$PATH echo "Running tests" -expresso test/unit/redis_pool.test.js -# expresso test/unit/metadata.test.js # fails (#36) -#expresso test/unit/oauth.test.js -#expresso test/unit/psql.test.js +expresso \ + test/unit/redis_pool.test.js \ + test/unit/metadata.test.js \ + test/unit/oauth.test.js +#expresso test/unit/psql.test.js # hangs -#expresso test/acceptance/app.test.js -#expresso test/acceptance/app.auth.test.js +#expresso test/acceptance/app.test.js # fails +#expresso test/acceptance/app.auth.test.js # fails cleanup