Skip to content

Commit 78e1a81

Browse files
committed
Try to stabilise Cassandra tests by increasing request timeout
Closes gh-25146
1 parent 6668e00 commit 78e1a81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 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,7 +59,7 @@ class CassandraDataAutoConfigurationIntegrationTests {
5959
"spring.data.cassandra.contact-points:" + cassandra.getHost() + ":"
6060
+ cassandra.getFirstMappedPort(),
6161
"spring.data.cassandra.local-datacenter=datacenter1", "spring.data.cassandra.read-timeout=20s",
62-
"spring.data.cassandra.connect-timeout=10s")
62+
"spring.data.cassandra.connect-timeout=10s", "spring.data.cassandra.request.timeout=10s")
6363
.withInitializer((context) -> AutoConfigurationPackages.register((BeanDefinitionRegistry) context,
6464
City.class.getPackage().getName()));
6565

0 commit comments

Comments
 (0)