Merge branch '2.5.x' into 2.6.x

Closes gh-30164
pull/30349/head
Andy Wilkinson 3 years ago
commit 7c3c5d3d3e

@ -50,7 +50,8 @@ class CassandraAutoConfigurationIntegrationTests {
"spring.data.cassandra.contact-points:" + cassandra.getHost() + ":"
+ cassandra.getFirstMappedPort(),
"spring.data.cassandra.local-datacenter=datacenter1", "spring.data.cassandra.request.timeout=20s",
"spring.data.cassandra.connection.init-query-timeout=10s");
"spring.data.cassandra.connection.init-query-timeout=20s",
"spring.data.cassandra.request.timeout=20s");
@Test
void whenTheContextIsClosedThenTheDriverConfigLoaderIsClosed() {

@ -55,8 +55,8 @@ class CassandraDataAutoConfigurationIntegrationTests {
"spring.data.cassandra.contact-points:" + cassandra.getHost() + ":"
+ cassandra.getFirstMappedPort(),
"spring.data.cassandra.local-datacenter=datacenter1", "spring.data.cassandra.request.timeout=20s",
"spring.data.cassandra.connection.init-query-timeout=10s",
"spring.data.cassandra.request.timeout=10s")
"spring.data.cassandra.connection.init-query-timeout=20s",
"spring.data.cassandra.request.timeout=20s")
.withInitializer((context) -> AutoConfigurationPackages.register((BeanDefinitionRegistry) context,
City.class.getPackage().getName()));

@ -46,7 +46,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=10s", "spring.data.cassandra.request.timeout=10s" })
"spring.data.cassandra.connection.init-query-timeout=20s", "spring.data.cassandra.request.timeout=20s" })
@Testcontainers(disabledWithoutDocker = true)
class DataCassandraTestIntegrationTests {

@ -45,8 +45,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=10s",
"spring.data.cassandra.request.timeout=10s" })
"spring.data.cassandra.connection.init-query-timeout=20s",
"spring.data.cassandra.request.timeout=20s" })
@Testcontainers(disabledWithoutDocker = true)
class DataCassandraTestWithIncludeFilterIntegrationTests {

Loading…
Cancel
Save