Skip to content

Commit

Permalink
back
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime-desroches committed Nov 7, 2024
1 parent 3b3f068 commit 2ff0204
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/tests/test_logmessaged.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_simple_log(self):
msgs = [f"abc {i}" for i in range(10)]
for m in msgs:
cloudlog.error(m)
time.sleep(3)
time.sleep(1)
m = messaging.drain_sock(self.sock)
assert len(m) == len(msgs)
assert len(self._get_log_files()) >= 1
Expand All @@ -45,7 +45,7 @@ def test_big_log(self):
msg = "a"*3*1024*1024
for _ in range(n):
cloudlog.info(msg)
time.sleep(3)
time.sleep(1)

msgs = messaging.drain_sock(self.sock)
assert len(msgs) == 0
Expand Down

0 comments on commit 2ff0204

Please sign in to comment.