Skip to content

Commit 6aa1076

Browse files
authored
test: set content length = 0 in abstract simultaneous connections test
Signed-off-by: Marc Nuri <[email protected]>
1 parent b6913be commit 6aa1076

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: kubernetes-client-api/src/test/java/io/fabric8/kubernetes/client/http/AbstractSimultaneousConnectionsTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ private void withHttp1() {
9696
@DisabledOnOs(OS.WINDOWS)
9797
public void http1Connections() throws Exception {
9898
final DelayedResponseHandler handler = new DelayedResponseHandler(MAX_HTTP_1_CONNECTIONS,
99-
exchange -> exchange.sendResponseHeaders(204, -1));
99+
exchange -> exchange.sendResponseHeaders(204, 0));
100100
httpServer.createContext("/http", handler);
101101
try (final HttpClient client = clientBuilder.build()) {
102102
final Collection<CompletableFuture<HttpResponse<AsyncBody>>> asyncResponses = ConcurrentHashMap.newKeySet();

0 commit comments

Comments
 (0)