KAFKA-18146; tests/kafkatest/tests/core/upgrade_test.py needs to be re-added as KRaft (#18766)

This patch renames kraft_upgrade_test.py to upgrade_test.py. This is enough to cover the old upgrade/downgrade tests.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
David Jacot 2025-01-31 15:07:11 +01:00 committed by GitHub
parent d7a5b877f2
commit 0ff4dafb7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -32,10 +32,10 @@ from kafkatest.version import LATEST_3_1, LATEST_3_2, LATEST_3_3, LATEST_3_4, LA
# ZK mode. The upgrade process is also somewhat different for KRaft because we
# use metadata.version instead of inter.broker.protocol.
#
class TestKRaftUpgrade(ProduceConsumeValidateTest):
class TestUpgrade(ProduceConsumeValidateTest):
def __init__(self, test_context):
super(TestKRaftUpgrade, self).__init__(test_context=test_context)
super(TestUpgrade, self).__init__(test_context=test_context)
self.may_truncate_acked_records = False
def setUp(self):