Skip to content

Commit 350c83d

Browse files
arvindKandpal-ksolvesnetudima
authored andcommitted
Fix CI regression in CompactionHistoryTest by enforcing STCS
patch by Arvind Kandpal; reviewed by Dmitry Konstantinov, Maxwell Guo for CASSANDRA-21145
1 parent 6bf598d commit 350c83d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/org/apache/cassandra/tools/nodetool/CompactionHistoryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public static void setup() throws Exception
8585
@Test
8686
public void testCompactionProperties() throws Throwable
8787
{
88-
createTable("CREATE TABLE %s (id text, value text, PRIMARY KEY ((id)))");
88+
createTable("CREATE TABLE %s (id text, value text, PRIMARY KEY ((id))) WITH compaction = {'class': 'SizeTieredCompactionStrategy'}");
8989
ColumnFamilyStore cfs = Keyspace.open(keyspace()).getColumnFamilyStore(currentTable());
9090
cfs.disableAutoCompaction();
9191
// write SSTables for the specific key

0 commit comments

Comments
 (0)