From b00e16a162147c790267432affdb1d8276128119 Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Wed, 16 Feb 2022 16:11:13 -0600 Subject: [PATCH] Disable autocompaction for sstableverify Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17327 --- offline_tools_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/offline_tools_test.py b/offline_tools_test.py index f2e5dc11fa..fc63f9e285 100644 --- a/offline_tools_test.py +++ b/offline_tools_test.py @@ -248,6 +248,8 @@ def test_sstableverify(self): (out, err, rc) = node1.run_sstableverify("keyspace1", "standard1") assert rc == 0, str(rc) + # only works on existing ks/cf, but we just created them + node1.nodetool("disableautocompaction") # Generate multiple sstables and test works properly in the simple case node1.stress(['write', 'n=100K', 'no-warmup', '-schema', 'replication(factor=1)', '-rate', 'threads=8'])