Skip to content
Permalink
Browse files
Disable autocompaction for sstableverify
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17327
  • Loading branch information
driftx committed Feb 17, 2022
1 parent 941772d commit b00e16a162147c790267432affdb1d8276128119
Showing 1 changed file with 2 additions and 0 deletions.
@@ -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'])

0 comments on commit b00e16a

Please sign in to comment.