cgivre commented on a change in pull request #2287:
URL: https://github.com/apache/drill/pull/2287#discussion_r683514215



##########
File path: 
contrib/storage-cassandra/src/test/java/org/apache/drill/exec/store/cassandra/TestCassandraSuit.java
##########
@@ -65,7 +66,12 @@ public static void tearDownCluster() {
 
   private static void startCassandra() {
     cassandra = new CassandraContainer<>("cassandra")
-        .withInitScript("queries.cql");
+                      .withInitScript("queries.cql")
+                      .withStartupTimeout(Duration.ofMinutes(3))
+                        .withEnv("CASSANDRA_SNITCH", 
"GossipingPropertyFileSnitch") // Tune Cassandra options for faster startup
+                          .withEnv("JVM_OPTS", 
"-Dcassandra.skip_wait_for_gossip_to_settle=0 -Dcassandra.initial_token=0")
+                            .withEnv("HEAP_NEWSIZE", "128M")
+                              .withEnv("MAX_HEAP_SIZE", "1024M");

Review comment:
       @vdiravka 
   The Cassandra tests seem to keep timing out and breaking the CI.  My 
recollection of the Cassandra plugin was that Cassandra really does take a long 
time to start up, possibly more than 1 minute.  This was why we implemented it 
to preserve the connection as long as possible rather than creating tons of new 
connections. 
   
   To my knowledge, the Splunk ones are working fine in the CI.
   
   @luocooong  Thanks for this.  It makes me wonder, should we add the 
`GossipingPropertyFileSnitch` parameter to the Cassandra plugin?




-- 
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]


Reply via email to