Skip to content

Commit 0a035c7

Browse files
hak7a3snicoll
authored andcommitted
Fix references to spring.data.cassandra.connection.connect-timeout
See gh-30074
1 parent 1872af0 commit 0a035c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@
512512
"defaultValue": "none"
513513
},
514514
{
515-
"name": "spring.data.cassandra.connection.connection-timeout",
515+
"name": "spring.data.cassandra.connection.connect-timeout",
516516
"defaultValue": "5s"
517517
},
518518
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class CassandraPropertiesTests {
4040
@Test
4141
void defaultValuesInManualMetadataAreConsistent() {
4242
OptionsMap driverDefaults = OptionsMap.driverDefaults();
43-
// spring.data.cassandra.connection.connection-timeout
43+
// spring.data.cassandra.connection.connect-timeout
4444
assertThat(driverDefaults.get(TypedDriverOption.CONNECTION_CONNECT_TIMEOUT)).isEqualTo(Duration.ofSeconds(5));
4545
// spring.data.cassandra.connection.init-query-timeout
4646
assertThat(driverDefaults.get(TypedDriverOption.CONNECTION_INIT_QUERY_TIMEOUT))

0 commit comments

Comments
 (0)