Browse Source

Fix references to spring.data.cassandra.connection.connect-timeout

See gh-30074
pull/30505/head
hak7a3 4 years ago committed by Stephane Nicoll
parent
commit
0a035c7fa6
  1. 2
      spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json
  2. 2
      spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/cassandra/CassandraPropertiesTests.java

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

@ -512,7 +512,7 @@ @@ -512,7 +512,7 @@
"defaultValue": "none"
},
{
"name": "spring.data.cassandra.connection.connection-timeout",
"name": "spring.data.cassandra.connection.connect-timeout",
"defaultValue": "5s"
},
{

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

@ -40,7 +40,7 @@ class CassandraPropertiesTests { @@ -40,7 +40,7 @@ class CassandraPropertiesTests {
@Test
void defaultValuesInManualMetadataAreConsistent() {
OptionsMap driverDefaults = OptionsMap.driverDefaults();
// spring.data.cassandra.connection.connection-timeout
// spring.data.cassandra.connection.connect-timeout
assertThat(driverDefaults.get(TypedDriverOption.CONNECTION_CONNECT_TIMEOUT)).isEqualTo(Duration.ofSeconds(5));
// spring.data.cassandra.connection.init-query-timeout
assertThat(driverDefaults.get(TypedDriverOption.CONNECTION_INIT_QUERY_TIMEOUT))

Loading…
Cancel
Save