Read redis port from test.js environment when running tests

This commit is contained in:
Sandro Santilli
2013-12-17 17:17:11 +01:00
parent 0414307679
commit 0c4bcca7c9
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ die() {
}
TEST_DB="cartodb_test_user_1_db"
REDIS_PORT=6333
if test -z "$REDIS_PORT"; then REDIS_PORT=6333; fi
echo "preparing postgres..."
dropdb "${TEST_DB}"