mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-27 20:49:34 +00:00
Increase connect and read timeouts when testing against Cassandra
This commit is contained in:
+4
-1
@@ -50,7 +50,10 @@ public class CassandraDataAutoConfigurationIntegrationTests {
|
||||
@Before
|
||||
public void setUp() {
|
||||
this.context = new AnnotationConfigApplicationContext();
|
||||
TestPropertyValues.of("spring.data.cassandra.port=" + cassandra.getMappedPort())
|
||||
TestPropertyValues
|
||||
.of("spring.data.cassandra.port=" + cassandra.getMappedPort(),
|
||||
"spring.data.cassandra.read-timeout=24000",
|
||||
"spring.data.cassandra.connect-timeout=10000")
|
||||
.applyTo(this.context.getEnvironment());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user