diff options
author | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2019-07-05 16:53:31 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2019-07-05 16:53:33 +0200 |
commit | 2da27ba7661ac5d74c43d38b3d5bc5b1fccb0968 (patch) | |
tree | 77c99f106dd1799e6a5383883012f32c1c5d1789 /config-proxy/src | |
parent | 23303b94e954b29d10350a5ad3dc585daac95a48 (diff) |
Use a valid timeout
0 actually meant 0 seconds timeout.
Diffstat (limited to 'config-proxy/src')
-rw-r--r-- | config-proxy/src/test/java/com/yahoo/vespa/config/proxy/ConfigProxyRpcServerTest.java | 4 |
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 |