[369120] more descriptive test failure output
This commit is contained in:
parent
5cd9dbc6d3
commit
8e262aca04
|
@ -196,7 +196,8 @@ public class SelectChannelEndPointTest
|
|||
}
|
||||
catch(SocketTimeoutException e)
|
||||
{
|
||||
assertTrue(System.currentTimeMillis()-start>=400);
|
||||
long duration = System.currentTimeMillis()-start;
|
||||
Assert.assertThat("timeout duration", duration, greaterThanOrEqualTo(400L));
|
||||
}
|
||||
|
||||
// write then shutdown
|
||||
|
|
Loading…
Reference in New Issue