Skip to content

Commit 0f6d77c

Browse files
authored
Merge pull request #27733 from mmaslankaprv/dt-fix-partition-listing
tests/rpk: tolerate `-1` in epoch field
2 parents 14fd1c5 + ce9f9b8 commit 0f6d77c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/rptest/clients/rpk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ def int_or_none(value: str) -> int | None:
898898

899899
initialized = (
900900
obj["LEADER"] >= 0
901-
and obj["EPOCH"] >= 0
901+
and obj["EPOCH"] >= -1
902902
and obj["REPLICAS"] != None
903903
and obj["LOG-START-OFFSET"] != None
904904
and obj["LOG-START-OFFSET"] >= 0

0 commit comments

Comments
 (0)