diff --git a/jetty-io/src/test/java/org/eclipse/jetty/io/nio/SelectChannelEndPointTest.java b/jetty-io/src/test/java/org/eclipse/jetty/io/nio/SelectChannelEndPointTest.java index d1437aba839..2a1aa532a07 100644 --- a/jetty-io/src/test/java/org/eclipse/jetty/io/nio/SelectChannelEndPointTest.java +++ b/jetty-io/src/test/java/org/eclipse/jetty/io/nio/SelectChannelEndPointTest.java @@ -292,8 +292,8 @@ public class SelectChannelEndPointTest long start=System.currentTimeMillis(); try { - client.getInputStream().read(); - Assert.fail("Should have timed out waiting for a response"); + int b= client.getInputStream().read(); + Assert.fail("Should have timed out waiting for a response, but read "+b); } catch(SocketTimeoutException e) {