This is an automated email from the ASF dual-hosted git repository. marcuse pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git
commit 9167d599f3bfa81e57c629744d121f6d2bc794d1 Author: Marcus Eriksson <marc...@apache.org> AuthorDate: Mon Nov 27 14:08:26 2023 +0100 Test Failure: org.apache.cassandra.db.compaction.writers.CompactionAwareWriterTest.test*CompactionWriter-trie Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-19091 --- .../cassandra/db/compaction/writers/CompactionAwareWriterTest.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/unit/org/apache/cassandra/db/compaction/writers/CompactionAwareWriterTest.java b/test/unit/org/apache/cassandra/db/compaction/writers/CompactionAwareWriterTest.java index b9142db88a..c9f6324b7e 100644 --- a/test/unit/org/apache/cassandra/db/compaction/writers/CompactionAwareWriterTest.java +++ b/test/unit/org/apache/cassandra/db/compaction/writers/CompactionAwareWriterTest.java @@ -24,6 +24,7 @@ import java.nio.file.Path; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; +import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Random; @@ -37,6 +38,8 @@ import org.junit.Test; import org.apache.cassandra.ServerTestUtils; import org.apache.cassandra.Util; +import org.apache.cassandra.config.DatabaseDescriptor; +import org.apache.cassandra.config.ParameterizedClass; import org.apache.cassandra.cql3.CQLTester; import org.apache.cassandra.cql3.QueryProcessor; import org.apache.cassandra.db.ColumnFamilyStore; @@ -66,6 +69,9 @@ public class CompactionAwareWriterTest extends CQLTester @BeforeClass public static void setUpClass() { + DatabaseDescriptor.daemonInitialization(); + // we assert that we create a single sstable in populate(..) below - always use STCS + DatabaseDescriptor.getRawConfig().default_compaction = new ParameterizedClass("SizeTieredCompactionStrategy", new HashMap<>()); // Don't register/join the local node so that DiskBoundaries are empty (testMultiDatadirCheck depends on this) ServerTestUtils.prepareServerNoRegister(); // Disabling durable write since we don't care --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org