diff --git a/jetty-proxy/src/test/java/org/eclipse/jetty/proxy/ConnectHandlerTest.java b/jetty-proxy/src/test/java/org/eclipse/jetty/proxy/ConnectHandlerTest.java index c1890d16eaf..3ae5a5b3d7a 100644 --- a/jetty-proxy/src/test/java/org/eclipse/jetty/proxy/ConnectHandlerTest.java +++ b/jetty-proxy/src/test/java/org/eclipse/jetty/proxy/ConnectHandlerTest.java @@ -588,6 +588,7 @@ public class ConnectHandlerTest extends AbstractConnectHandlerTest "\r\n"; try (Socket socket = newSocket()) { + socket.setSoTimeout((int)idleTimeout); OutputStream output = socket.getOutputStream(); InputStream input = socket.getInputStream();