diff --git a/spring-cloud-consul-config/src/test/java/org/springframework/cloud/consul/config/ConsulPropertySourceLocatorTests.java b/spring-cloud-consul-config/src/test/java/org/springframework/cloud/consul/config/ConsulPropertySourceLocatorTests.java index 487b5647..61d7ca83 100644 --- a/spring-cloud-consul-config/src/test/java/org/springframework/cloud/consul/config/ConsulPropertySourceLocatorTests.java +++ b/spring-cloud-consul-config/src/test/java/org/springframework/cloud/consul/config/ConsulPropertySourceLocatorTests.java @@ -117,7 +117,7 @@ public class ConsulPropertySourceLocatorTests { this.client.setKVValue(KEY, "testPropValUpdate"); TestRefreshEndpoint endpoint = this.context.getBean(TestRefreshEndpoint.class); - boolean receivedEvent = endpoint.successLatch.await(60, TimeUnit.SECONDS); + boolean receivedEvent = endpoint.successLatch.await(3, TimeUnit.MINUTES); assertThat("listener didn't receive event", receivedEvent, is(true)); testProp = this.environment.getProperty("testProp");