Skip to content

Commit 46bc551

Browse files
committed
Merge branch '2.3.x' into 2.4.x
Closes gh-25169
2 parents 45e6c12 + 1524793 commit 46bc551

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/cassandra/CassandraAutoConfigurationWithPasswordAuthenticationIntegrationTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -59,8 +59,8 @@ class CassandraAutoConfigurationWithPasswordAuthenticationIntegrationTests {
5959
.withConfiguration(AutoConfigurations.of(CassandraAutoConfiguration.class)).withPropertyValues(
6060
"spring.data.cassandra.contact-points:" + cassandra.getHost() + ":"
6161
+ cassandra.getFirstMappedPort(),
62-
"spring.data.cassandra.local-datacenter=datacenter1", "spring.data.cassandra.read-timeout=20s",
63-
"spring.data.cassandra.connect-timeout=10s");
62+
"spring.data.cassandra.local-datacenter=datacenter1", "spring.data.cassandra.request.timeout=20s",
63+
"spring.data.cassandra.connection.init-query-timeout=10s");
6464

6565
@Test
6666
void authenticationWithValidUsernameAndPassword() {

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/cassandra/CassandraDataAutoConfigurationIntegrationTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -58,8 +58,8 @@ class CassandraDataAutoConfigurationIntegrationTests {
5858
.withPropertyValues(
5959
"spring.data.cassandra.contact-points:" + cassandra.getHost() + ":"
6060
+ cassandra.getFirstMappedPort(),
61-
"spring.data.cassandra.local-datacenter=datacenter1", "spring.data.cassandra.read-timeout=20s",
62-
"spring.data.cassandra.connect-timeout=10s")
61+
"spring.data.cassandra.local-datacenter=datacenter1", "spring.data.cassandra.request.timeout=20s",
62+
"spring.data.cassandra.connection.init-query-timeout=10s")
6363
.withInitializer((context) -> AutoConfigurationPackages.register((BeanDefinitionRegistry) context,
6464
City.class.getPackage().getName()));
6565

0 commit comments

Comments
 (0)