This is an automated email from the ASF dual-hosted git repository.

dajac pushed a commit to branch 4.0
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/4.0 by this push:
     new 7eed1fc8230 KAFKA-18146; tests/kafkatest/tests/core/upgrade_test.py 
needs to be re-added as KRaft (#18766)
7eed1fc8230 is described below

commit 7eed1fc8230177712420cf03fdc6c146c0b67ca2
Author: David Jacot <[email protected]>
AuthorDate: Fri Jan 31 15:07:11 2025 +0100

    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 <[email protected]>
---
 tests/kafkatest/tests/core/{kraft_upgrade_test.py => upgrade_test.py} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/kafkatest/tests/core/kraft_upgrade_test.py 
b/tests/kafkatest/tests/core/upgrade_test.py
similarity index 98%
rename from tests/kafkatest/tests/core/kraft_upgrade_test.py
rename to tests/kafkatest/tests/core/upgrade_test.py
index ab724a91e9e..70b44140768 100644
--- a/tests/kafkatest/tests/core/kraft_upgrade_test.py
+++ b/tests/kafkatest/tests/core/upgrade_test.py
@@ -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):

Reply via email to