Skip to content

Commit a207a1a

Browse files
added comment to wait_nats_paused
1 parent 51886ba commit a207a1a

File tree

1 file changed

+1
-0
lines changed
  • tests/integration/test_storage_nats

1 file changed

+1
-0
lines changed

tests/integration/test_storage_nats/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def wait_nats_to_start(nats_port, ssl_ctx=None, timeout=180):
5050

5151
assert False, "NATS is unavailable"
5252

53+
# function to check if nats is paused, because in some cases we successfully connected to it after calling pause_container
5354
def wait_nats_paused(nats_port, ssl_ctx=None, timeout=180):
5455
start = time.time()
5556
while time.time() - start < timeout:

0 commit comments

Comments
 (0)