improved test failure message
This commit is contained in:
parent
629b6360de
commit
f37b617481
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue