mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Fix references to spring.data.cassandra.connection.connect-timeout
See gh-30074
This commit is contained in:
parent
1872af056e
commit
0a035c7fa6
@ -512,7 +512,7 @@
|
||||
"defaultValue": "none"
|
||||
},
|
||||
{
|
||||
"name": "spring.data.cassandra.connection.connection-timeout",
|
||||
"name": "spring.data.cassandra.connection.connect-timeout",
|
||||
"defaultValue": "5s"
|
||||
},
|
||||
{
|
||||
|
@ -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…
Reference in New Issue
Block a user