Try to stabilise Cassandra tests by increasing request timeout

Closes gh-25146
pull/25178/head
Andy Wilkinson 4 years ago
parent 6668e008e0
commit 78e1a812e2

@ -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,7 +59,7 @@ class CassandraDataAutoConfigurationIntegrationTests {
"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.connect-timeout=10s", "spring.data.cassandra.request.timeout=10s")
.withInitializer((context) -> AutoConfigurationPackages.register((BeanDefinitionRegistry) context,
City.class.getPackage().getName()));

Loading…
Cancel
Save