aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/clean/server/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/clean/server/test.sh')
-rwxr-xr-xscripts/clean/server/test.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/clean/server/test.sh b/scripts/clean/server/test.sh
index dbd399aaa..f85daf810 100755
--- a/scripts/clean/server/test.sh
+++ b/scripts/clean/server/test.sh
@@ -20,10 +20,6 @@ dropRedis () {
20 port=$((9000+$1)) 20 port=$((9000+$1))
21 host="localhost" 21 host="localhost"
22 22
23 if [ ! -z ${GITLAB_CI+x} ]; then
24 host="redis"
25 fi
26
27 redis-cli -h "$host" KEYS "bull-localhost:$port*" | grep -v empty | xargs --no-run-if-empty redis-cli -h "$host" DEL 23 redis-cli -h "$host" KEYS "bull-localhost:$port*" | grep -v empty | xargs --no-run-if-empty redis-cli -h "$host" DEL
28 redis-cli -h "$host" KEYS "redis-localhost:$port*" | grep -v empty | xargs --no-run-if-empty redis-cli -h "$host" DEL 24 redis-cli -h "$host" KEYS "redis-localhost:$port*" | grep -v empty | xargs --no-run-if-empty redis-cli -h "$host" DEL
29 redis-cli -h "$host" KEYS "*redis-localhost:$port-" | grep -v empty | xargs --no-run-if-empty redis-cli -h "$host" DEL 25 redis-cli -h "$host" KEYS "*redis-localhost:$port-" | grep -v empty | xargs --no-run-if-empty redis-cli -h "$host" DEL