[369120] more descriptive test failure output

This commit is contained in:
Jesse McConnell 2012-01-19 11:26:17 -06:00
parent 5cd9dbc6d3
commit 8e262aca04
1 changed files with 2 additions and 1 deletions

View File

@ -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