mirror of https://github.com/apache/cassandra
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:
parent
6bf598dcde
commit
350c83dc15
|
|
@ -85,7 +85,7 @@ public class CompactionHistoryTest extends CQLTester
|
|||
@Test
|
||||
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());
|
||||
cfs.disableAutoCompaction();
|
||||
// write SSTables for the specific key
|
||||
|
|
|
|||
Loading…
Reference in New Issue