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

mck pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git


The following commit(s) were added to refs/heads/trunk by this push:
     new eb518f3c Add version guard around call to initializecms also in 
upgrade_tests/storage_engine_upgrade_test.py
eb518f3c is described below

commit eb518f3ca6f22753346dfb57c94e9935611c6a53
Author: Mick Semb Wever <m...@apache.org>
AuthorDate: Sun Nov 26 22:18:45 2023 +0100

    Add version guard around call to initializecms also in 
upgrade_tests/storage_engine_upgrade_test.py
    
     patch by Mick Semb Wever; reviewed by Sam Tunnicliffe for CASSANDRA-19099
---
 upgrade_tests/storage_engine_upgrade_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/upgrade_tests/storage_engine_upgrade_test.py 
b/upgrade_tests/storage_engine_upgrade_test.py
index 336c92ee..d791f2a7 100644
--- a/upgrade_tests/storage_engine_upgrade_test.py
+++ b/upgrade_tests/storage_engine_upgrade_test.py
@@ -69,7 +69,7 @@ class TestStorageEngineUpgrade(Tester):
         
node1.set_install_dir(install_dir=self.fixture_dtest_setup.default_install_dir)
         self.install_legacy_parsing(node1)
         node1.start(wait_for_binary_proto=True)
-        if self.dtest_config.cassandra_version_from_build >= MAJOR_VERSION_5:
+        if node1.get_cassandra_version() >= '5.1':
             node1.nodetool("initializecms")
         if self.fixture_dtest_setup.bootstrap:
             
cluster.set_install_dir(install_dir=self.fixture_dtest_setup.default_install_dir)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to