diff --git a/kubernetes-client-api/src/test/java/io/fabric8/kubernetes/client/http/AbstractSimultaneousConnectionsTest.java b/kubernetes-client-api/src/test/java/io/fabric8/kubernetes/client/http/AbstractSimultaneousConnectionsTest.java index 69d346eda4..d06a7bc58e 100644 --- a/kubernetes-client-api/src/test/java/io/fabric8/kubernetes/client/http/AbstractSimultaneousConnectionsTest.java +++ b/kubernetes-client-api/src/test/java/io/fabric8/kubernetes/client/http/AbstractSimultaneousConnectionsTest.java @@ -96,7 +96,7 @@ private void withHttp1() { @DisabledOnOs(OS.WINDOWS) public void http1Connections() throws Exception { final DelayedResponseHandler handler = new DelayedResponseHandler(MAX_HTTP_1_CONNECTIONS, - exchange -> exchange.sendResponseHeaders(204, -1)); + exchange -> exchange.sendResponseHeaders(204, 0)); httpServer.createContext("/http", handler); try (final HttpClient client = clientBuilder.build()) { final Collection>> asyncResponses = ConcurrentHashMap.newKeySet();