From 68a851a8792599b577f25d4e08b0dfabd7a2db20 Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Tue, 9 Feb 2016 17:15:06 -0700 Subject: [PATCH] Update timeout for travis --- .../cloud/consul/config/ConsulPropertySourceLocatorTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");