You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jl...@apache.org on 2024/07/24 12:36:22 UTC
(cassandra-dtest) 37/43: CC5 fix jmx_test.py::TestJMX::test_compaction
This is an automated email from the ASF dual-hosted git repository.
jlewandowski pushed a commit to branch ds-trunk-5.0--2024-07-24
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git
commit afa43a2840f7d1473defa13b89f5245d9ac068af
Author: Brandon Williams <br...@apache.org>
AuthorDate: Mon Jul 22 15:52:38 2024 -0500
CC5 fix jmx_test.py::TestJMX::test_compaction
---
jmx_test.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/jmx_test.py b/jmx_test.py
index bc5f8b12..60ffb58e 100644
--- a/jmx_test.py
+++ b/jmx_test.py
@@ -201,7 +201,9 @@ class TestJMX(Tester):
# Run a major compaction. This will be the compaction whose
# progress we track.
node.nodetool_process('compact keyspace1')
- if self.cluster.version() >= LooseVersion('4.0'):
+ if self.cluster.version() >= LooseVersion('5.0'):
+ node.watch_log_for("Major compaction")
+ elif self.cluster.version() >= LooseVersion('4.0'):
node.watch_log_for("Compacting")
elif self.cluster.version() >= LooseVersion('3.11'):
node.watch_log_for("Major compaction")
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org