ifesdjeen commented on code in PR #3689:
URL: https://github.com/apache/cassandra/pull/3689#discussion_r1848071940
##########
test/distributed/org/apache/cassandra/fuzz/sai/MultiNodeSAITest.java:
##########
@@ -18,18 +18,66 @@
package org.apache.cassandra.fuzz.sai;
+import org.junit.Before;
import org.junit.BeforeClass;
-public class MultiNodeSAITest extends MultiNodeSAITestBase
+import org.apache.cassandra.distributed.Cluster;
+import org.apache.cassandra.distributed.test.sai.SAIUtil;
+import org.apache.cassandra.harry.SchemaSpec;
+
+import static org.apache.cassandra.distributed.api.Feature.GOSSIP;
+import static org.apache.cassandra.distributed.api.Feature.NETWORK;
+
+public class MultiNodeSAITest extends SingleNodeSAITest
{
@BeforeClass
public static void before() throws Throwable
{
- MultiNodeSAITestBase.before(false);
+ cluster = Cluster.build()
+ .withNodes(2)
+ // At lower fetch sizes, queries w/ hundreds or
thousands of matches can take a very long time.
+ .withConfig(defaultConfig().andThen(c ->
c.set("range_request_timeout", "180s")
+
.set("read_request_timeout", "180s")
+
.set("native_transport_timeout", "180s")
+
.set("slow_query_log_timeout", "180s")
+
.with(GOSSIP).with(NETWORK)))
+ .createWithoutStarting();
+ cluster.setUncaughtExceptionsFilter(t -> {
+ logger.error("Caught exception, reporting during shutdown.
Ignoring.", t);
+ return true;
+ });
Review Comment:
This is pre-existing code:
https://github.com/apache/cassandra/blob/cep-15-accord/test/distributed/org/apache/cassandra/fuzz/sai/MultiNodeSAITestBase.java#L66
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]