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).
pull/5190/head
Andy Wilkinson 9 years ago
parent 62bc2abac0
commit d3074a086c

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

Loading…
Cancel
Save