Show some redis stats after running tests
By commenting out you can monitor to a file
This commit is contained in:
parent
f553efa69e
commit
56070f3017
@ -24,7 +24,10 @@ cleanup() {
|
|||||||
return;
|
return;
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
redis-cli -p ${REDIS_PORT} info stats
|
||||||
|
redis-cli -p ${REDIS_PORT} info keyspace
|
||||||
echo "Killing test redis pid ${PID_REDIS}"
|
echo "Killing test redis pid ${PID_REDIS}"
|
||||||
|
#kill ${PID_REDIS_MONITOR}
|
||||||
kill ${PID_REDIS}
|
kill ${PID_REDIS}
|
||||||
fi
|
fi
|
||||||
if test x"$OPT_DROP_PGSQL" = xyes; then
|
if test x"$OPT_DROP_PGSQL" = xyes; then
|
||||||
@ -118,6 +121,9 @@ cd -
|
|||||||
|
|
||||||
PATH=node_modules/.bin/:$PATH
|
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
|
if test x"$OPT_COVERAGE" = xyes; then
|
||||||
echo "Running tests with coverage"
|
echo "Running tests with coverage"
|
||||||
./node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -u tdd -t 5000 ${TESTS}
|
./node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -u tdd -t 5000 ${TESTS}
|
||||||
|
Loading…
Reference in New Issue
Block a user