Skip to content

Commit

Permalink
tests/clients: improve rpk group describe error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
jcsp committed Aug 8, 2022
1 parent d50400a commit b92846b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/rptest/clients/rpk.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,10 @@ def check_lines(lines):
# We should wait until server will get information about it.
if line.find('UNKNOWN_TOPIC_OR_PARTITION') != -1:
return False

# Leadership movements are underway
if 'NOT_LEADER_FOR_PARTITION' in line:
return False
return True

def parse_partition(string):
Expand Down

0 comments on commit b92846b

Please sign in to comment.