You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2017/03/08 12:36:21 UTC
svn commit: r1785955 -
/tomcat/trunk/test/org/apache/tomcat/jni/TestSocketServer.java
Author: markt
Date: Wed Mar 8 12:36:20 2017
New Revision: 1785955
URL: http://svn.apache.org/viewvc?rev=1785955&view=rev
Log:
Better failure message
Modified:
tomcat/trunk/test/org/apache/tomcat/jni/TestSocketServer.java
Modified: tomcat/trunk/test/org/apache/tomcat/jni/TestSocketServer.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/jni/TestSocketServer.java?rev=1785955&r1=1785954&r2=1785955&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/tomcat/jni/TestSocketServer.java (original)
+++ tomcat/trunk/test/org/apache/tomcat/jni/TestSocketServer.java Wed Mar 8 12:36:20 2017
@@ -181,7 +181,7 @@ public class TestSocketServer extends Ab
}
long wait = System.nanoTime() - start;
Assert.assertTrue("Timeout failed", ok);
- Assert.assertFalse("non_blocking accept Socket.APR_SO_NONBLOCK failed (>1ms)",
+ Assert.assertFalse("non_blocking accept Socket.APR_SO_NONBLOCK failed ([" + wait + "]>1ms)",
wait > 1000000);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org