diff --git a/run_tests.sh b/run_tests.sh index e7ea3a2c..e63a0492 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -24,7 +24,10 @@ cleanup() { return; fi fi + redis-cli -p ${REDIS_PORT} info stats + redis-cli -p ${REDIS_PORT} info keyspace echo "Killing test redis pid ${PID_REDIS}" + #kill ${PID_REDIS_MONITOR} kill ${PID_REDIS} fi if test x"$OPT_DROP_PGSQL" = xyes; then @@ -118,6 +121,9 @@ cd - PATH=node_modules/.bin/:$PATH +#redis-cli -p ${REDIS_PORT} monitor > /tmp/windshaft-cartodb.redis.log & +#PID_REDIS_MONITOR=$! + if test x"$OPT_COVERAGE" = xyes; then echo "Running tests with coverage" ./node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -u tdd -t 5000 ${TESTS}