Skip to content

Commit

Permalink
CI: relax e2e test timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
pajod committed May 19, 2024
1 parent 9cb0af4 commit 2b7e3f1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/test_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
# from threading import Thread, Event


GRACEFUL_TIMEOUT = 5
BOOT_DEADLINE = 15
GRACEFUL_TIMEOUT = 10
BOOT_DEADLINE = 20

# test flaky for WORKER_COUNT != 1, awaiting *last* worker not implemented
WORKER_COUNT = 1
Expand Down Expand Up @@ -245,9 +245,7 @@ def read_stdio(self, *, key, timeout_sec, wait_for_keyword, expect=()):
time.sleep(1.0 / poll_per_second)
# assert buf[abs(key - 1)] == ""
assert wait_for_keyword in buf[key], (wait_for_keyword, *buf)
for additional_keyword in expect:
for somewhere in buf:
assert additional_keyword in somewhere, (additional_keyword, *buf)
assert not expect, (additional_keyword, *buf)
return buf[key]


Expand Down

0 comments on commit 2b7e3f1

Please sign in to comment.