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

tests: allow logging unsupported api version entry when upgrading #6580

Merged
merged 1 commit into from
Oct 3, 2022
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
13 changes: 11 additions & 2 deletions tests/rptest/tests/partition_movement_upgrade_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# the Business Source License, use of this software will be governed
# by the Apache License, Version 2.0

import re
import threading
from time import sleep
import requests
Expand Down Expand Up @@ -101,8 +102,16 @@ def stop_moving_partitions(self):

self.move_worker.join()

@ok_to_fail # https://github.com/redpanda-data/redpanda/issues/5868
@cluster(num_nodes=6, log_allow_list=RESTART_LOG_ALLOW_LIST)
# Allow unsupported version error log entry for older redpanda versions
#
# This log entry may be logged by version up to v22.1.x
unsupported_api_version_log_entry = re.compile(
"kafka rpc protocol - Error\[applying protocol\] .*Unsupported version \d+ for .*"
)
andrwng marked this conversation as resolved.
Show resolved Hide resolved

@cluster(num_nodes=6,
log_allow_list=RESTART_LOG_ALLOW_LIST +
[unsupported_api_version_log_entry])
def test_basic_upgrade(self):
topic = TopicSpec(partition_count=16, replication_factor=3)
self.client().create_topic(topic)
Expand Down