Properly quote database name
Seems to fix #30, but also reveals that a FLUSHALL is also needed when redis is started by ourselves...
This commit is contained in:
+1
-1
@@ -28,6 +28,6 @@ psql "${TEST_DB}" < ./sql/gadm4.sql
|
||||
echo "preparing redis..."
|
||||
echo "HSET rails:users:vizzuality id 1" | redis-cli -p ${REDIS_PORT} -n 5
|
||||
echo "HSET rails:users:vizzuality database_name '${TEST_DB}'" | redis-cli -p ${REDIS_PORT} -n 5
|
||||
echo 'HSET rails:${TEST_DB}:my_table infowindow "this, that, the other"' | redis-cli -p ${REDIS_PORT} -n 0
|
||||
echo 'HSET rails:'${TEST_DB}':my_table infowindow "this, that, the other"' | redis-cli -p ${REDIS_PORT} -n 0
|
||||
|
||||
echo "Finished preparing data. Run tests with expresso."
|
||||
|
||||
Reference in New Issue
Block a user