Fix CI regression in CompactionHistoryTest by enforcing STCS

patch by Arvind Kandpal; reviewed by Dmitry Konstantinov, Maxwell Guo for CASSANDRA-21145
This commit is contained in:
arvindksi274-ksolves 2026-01-29 16:43:31 +05:30 committed by Dmitry Konstantinov
parent 6bf598dcde
commit 350c83dc15
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ public class CompactionHistoryTest extends CQLTester
@Test @Test
public void testCompactionProperties() throws Throwable public void testCompactionProperties() throws Throwable
{ {
createTable("CREATE TABLE %s (id text, value text, PRIMARY KEY ((id)))"); createTable("CREATE TABLE %s (id text, value text, PRIMARY KEY ((id))) WITH compaction = {'class': 'SizeTieredCompactionStrategy'}");
ColumnFamilyStore cfs = Keyspace.open(keyspace()).getColumnFamilyStore(currentTable()); ColumnFamilyStore cfs = Keyspace.open(keyspace()).getColumnFamilyStore(currentTable());
cfs.disableAutoCompaction(); cfs.disableAutoCompaction();
// write SSTables for the specific key // write SSTables for the specific key