Skip to content

Commit

Permalink
Merge pull request #11448 from mmaslankaprv/fix-11306
Browse files Browse the repository at this point in the history
tests: fixed assertion checking error content
  • Loading branch information
mmaslankaprv authored Jun 15, 2023
2 parents a40e9b9 + 84288b7 commit ed17c1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/rptest/tests/simple_e2e_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,5 @@ def test_consumer_interruption(self):
error = e

assert error is not None
assert "Consumed from an unexpected" in str(error)
assert "Consumed from an unexpected" in str(
error) or "is behind the current committed offset" in str(error)

0 comments on commit ed17c1d

Please sign in to comment.