Commit d3074a08 authored by Andy Wilkinson's avatar Andy Wilkinson

Increase timeout for startup of embedded Cassandra

The integration tests for the Spring Data Cassandra sample application
fail intermittently, apparently due to Cassandra failing to start
within the default timeout period of 10000ms.

In attempt to get the tests to pass reliably, this commit increases
the timeout to 60000ms (1 minute).
parent 62bc2aba
......@@ -42,7 +42,7 @@ import static org.junit.Assert.assertTrue;
@SpringApplicationConfiguration(SampleCassandraApplication.class)
@IntegrationTest("spring.data.cassandra.port=9142")
@CassandraDataSet(keyspace = "mykeyspace", value = "setup.cql")
@EmbeddedCassandra
@EmbeddedCassandra(timeout = 60000)
public class SampleCassandraApplicationTests {
@ClassRule
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment