Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing EPOCH column in NodeOperationFuzzyTest.test_node_operations #8444

Merged
merged 1 commit into from
Jan 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tests/rptest/clients/rpk.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,9 @@ def int_or_none(value):

missing_columns = expected_columns - received_columns
# sometimes LSO is present, sometimes it isn't
missing_columns = missing_columns - {"LAST-STABLE-OFFSET"}
# same is true for EPOCH:
# https://github.com/redpanda-data/redpanda/issues/8381#issuecomment-1403051606
missing_columns = missing_columns - {"LAST-STABLE-OFFSET", "EPOCH"}

if len(missing_columns) != 0:
missing_columns = ",".join(missing_columns)
Expand All @@ -364,6 +366,7 @@ def int_or_none(value):
for row in table.rows:
obj = dict()
obj["LAST-STABLE-OFFSET"] = "-"
obj["EPOCH"] = "-1"
for i in range(0, len(table.columns)):
obj[table.columns[i].name] = row[i]

Expand Down