Skip to content

Commit 3aa7021

Browse files
committed
added a sleep to let redis server time to start in the swift/t container
1 parent f08f54e commit 3aa7021

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/translators_loggers/test_translators_loggers.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ def _additional_setup_swiftt(container):
101101
cmd=["bash", "-c", "redis-server"], user="wfcommons", detach=True, stdout=True, stderr=True)
102102
# Note that exit_code will always be None because of detach=True.
103103

104+
# Give redis time to start!
105+
time.sleep(1)
106+
104107
# Check that the redis-server is up
105108
exit_code, output = container.exec_run(
106109
cmd=["bash", "-c", "redis-cli ping"], user="wfcommons", stdout=True, stderr=True)

0 commit comments

Comments
 (0)