Skip to content

Commit

Permalink
remove duplicate in key patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
azhavoro committed Oct 9, 2024
1 parent 3fdbb9b commit d1ac9ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/python/shared/fixtures/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def docker_restore_redis_inmem():
[
"sh",
"-c",
"for p in rq:finished:* rq:job:* rq:wip:* rq:finished:* rq:failed:*; "
"for p in rq:job:* rq:wip:* rq:finished:* rq:failed:*; "
'do redis-cli -e --scan --pattern "$p" | xargs -r redis-cli -e del ; done',
]
)
Expand All @@ -255,7 +255,7 @@ def kube_restore_redis_inmem():
[
"sh",
"-c",
"for p in rq:finished:* rq:job:* rq:wip:* rq:finished:* rq:failed:*; "
"for p in rq:job:* rq:wip:* rq:finished:* rq:failed:*; "
'do redis-cli -e -a "${REDIS_PASSWORD}" --scan --pattern "$p" | '
'xargs -r redis-cli -e -a "${REDIS_PASSWORD}" del ; done',
]
Expand Down

0 comments on commit d1ac9ef

Please sign in to comment.