Skip to content

Commit

Permalink
fix flaky test where logmatcher timeout before read to EOF
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyifan committed Jan 8, 2025
1 parent 7562ae2 commit 20c31b8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -532,9 +532,9 @@ def test_logfile(self, env, result):
f.write("vodka\n")
f.write("lime juice\n")
f.flush()
result.logfile.match(lm, r"lime juice", timeout=0.1)
result.logfile.match(lm, r"lime juice", timeout=1)
result.logfile.seek_eof(lm)
with result.logfile.expect(lm, r"ginger beer", timeout=0.1):
with result.logfile.expect(lm, r"ginger beer", timeout=1):
f.write("ginger beer\n")
f.flush()
finally:
Expand Down

0 comments on commit 20c31b8

Please sign in to comment.