Skip to content

Commit

Permalink
tests: fix BadLogLines for "No such file" messages
Browse files Browse the repository at this point in the history
This assert originally went in when we wanted to check
we weren't grepping on a nonexistent path, but it turns
out there are certain conditions under which Redpanda
can emit matching log messages, which we should be
handling as the usual BadLogLines, not asserting on.
  • Loading branch information
jcsp committed May 13, 2022
1 parent 6c99220 commit 9412d36
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/rptest/services/redpanda.py
Original file line number Diff line number Diff line change
Expand Up @@ -1029,8 +1029,6 @@ def raise_on_bad_logs(self, allow_list=None):
):
line = line.strip()

assert "No such file or directory" not in line

allowed = False
for a in allow_list:
if a.search(line) is not None:
Expand Down

0 comments on commit 9412d36

Please sign in to comment.