mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Use a 10s init query timeout in Cassandra tests
Closes gh-27368
This commit is contained in:
parent
fe081b1742
commit
06a3c40506
@ -48,7 +48,7 @@ import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
|
||||
@DataCassandraTest(properties = { "spring.data.cassandra.local-datacenter=datacenter1",
|
||||
"spring.data.cassandra.schema-action=create-if-not-exists",
|
||||
"spring.data.cassandra.connection.connect-timeout=20s",
|
||||
"spring.data.cassandra.connection.init-query-timeout=2s", "spring.data.cassandra.request.timeout=10s" })
|
||||
"spring.data.cassandra.connection.init-query-timeout=10s", "spring.data.cassandra.request.timeout=10s" })
|
||||
@Testcontainers(disabledWithoutDocker = true)
|
||||
class DataCassandraTestIntegrationTests {
|
||||
|
||||
|
@ -47,7 +47,8 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
properties = { "spring.data.cassandra.local-datacenter=datacenter1",
|
||||
"spring.data.cassandra.schema-action=create-if-not-exists",
|
||||
"spring.data.cassandra.connection.connect-timeout=20s",
|
||||
"spring.data.cassandra.connection.init-query-timeout=2s", "spring.data.cassandra.request.timeout=10s" })
|
||||
"spring.data.cassandra.connection.init-query-timeout=10s",
|
||||
"spring.data.cassandra.request.timeout=10s" })
|
||||
@Testcontainers(disabledWithoutDocker = true)
|
||||
class DataCassandraTestWithIncludeFilterIntegrationTests {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user