summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@verizonmedia.com>2019-07-05 16:56:31 +0200
committerGitHub <noreply@github.com>2019-07-05 16:56:31 +0200
commit7fe25033fc0e83fa2eb2ed50e9f2983ec98c2b6f (patch)
tree77c99f106dd1799e6a5383883012f32c1c5d1789
parent23303b94e954b29d10350a5ad3dc585daac95a48 (diff)
parent2da27ba7661ac5d74c43d38b3d5bc5b1fccb0968 (diff)
Merge pull request #9978 from vespa-engine/bjorncs/stabilize-test
Use a valid timeout
-rw-r--r--config-proxy/src/test/java/com/yahoo/vespa/config/proxy/ConfigProxyRpcServerTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/config-proxy/src/test/java/com/yahoo/vespa/config/proxy/ConfigProxyRpcServerTest.java b/config-proxy/src/test/java/com/yahoo/vespa/config/proxy/ConfigProxyRpcServerTest.java
index ffaf5bafc59..48456d8ac23 100644
--- a/config-proxy/src/test/java/com/yahoo/vespa/config/proxy/ConfigProxyRpcServerTest.java
+++ b/config-proxy/src/test/java/com/yahoo/vespa/config/proxy/ConfigProxyRpcServerTest.java
@@ -15,6 +15,8 @@ import org.junit.After;
import org.junit.Before;
import org.junit.Test;
+import java.time.Duration;
+
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertThat;
@@ -295,7 +297,7 @@ public class ConfigProxyRpcServerTest {
}
void invoke(Request request) {
- target.invokeSync(request, 0/*no timeout*/);
+ target.invokeSync(request, Duration.ofMinutes(10).getSeconds());
}
@Override