diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/cassandra/CassandraAutoConfigurationWithPasswordAuthenticationIntegrationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/cassandra/CassandraAutoConfigurationWithPasswordAuthenticationIntegrationTests.java index 571b5cb8e5f4..a23eec0e1283 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/cassandra/CassandraAutoConfigurationWithPasswordAuthenticationIntegrationTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/cassandra/CassandraAutoConfigurationWithPasswordAuthenticationIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,8 +59,8 @@ class CassandraAutoConfigurationWithPasswordAuthenticationIntegrationTests { .withConfiguration(AutoConfigurations.of(CassandraAutoConfiguration.class)).withPropertyValues( "spring.data.cassandra.contact-points:" + cassandra.getHost() + ":" + cassandra.getFirstMappedPort(), - "spring.data.cassandra.local-datacenter=datacenter1", "spring.data.cassandra.read-timeout=20s", - "spring.data.cassandra.connect-timeout=10s"); + "spring.data.cassandra.local-datacenter=datacenter1", "spring.data.cassandra.request.timeout=20s", + "spring.data.cassandra.connection.init-query-timeout=10s"); @Test void authenticationWithValidUsernameAndPassword() { diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/cassandra/CassandraDataAutoConfigurationIntegrationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/cassandra/CassandraDataAutoConfigurationIntegrationTests.java index 3f90f901a6e4..1b8677e1bc6b 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/cassandra/CassandraDataAutoConfigurationIntegrationTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/cassandra/CassandraDataAutoConfigurationIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -58,8 +58,8 @@ class CassandraDataAutoConfigurationIntegrationTests { .withPropertyValues( "spring.data.cassandra.contact-points:" + cassandra.getHost() + ":" + cassandra.getFirstMappedPort(), - "spring.data.cassandra.local-datacenter=datacenter1", "spring.data.cassandra.read-timeout=20s", - "spring.data.cassandra.connect-timeout=10s") + "spring.data.cassandra.local-datacenter=datacenter1", "spring.data.cassandra.request.timeout=20s", + "spring.data.cassandra.connection.init-query-timeout=10s") .withInitializer((context) -> AutoConfigurationPackages.register((BeanDefinitionRegistry) context, City.class.getPackage().getName()));