Author: markt
Date: Thu Feb  7 12:04:39 2013
New Revision: 1443435

URL: http://svn.apache.org/viewvc?rev=1443435&view=rev
Log:
Debug CI failure before deciding how to address it.

Modified:
    tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java

Modified: 
tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java?rev=1443435&r1=1443434&r2=1443435&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java 
(original)
+++ tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java 
Thu Feb  7 12:04:39 2013
@@ -309,11 +309,14 @@ public class TestWsWebSocketContainer ex
 
         long timeout = System.currentTimeMillis() - lastSend;
 
+
+        String msg = "Time out was [" + timeout + "] ms";
+
         // Check correct time passed
-        Assert.assertTrue(timeout >= TIMEOUT_MS);
+        Assert.assertTrue(msg, timeout >= TIMEOUT_MS);
 
         // Check the timeout wasn't too long
-        Assert.assertTrue(timeout < TIMEOUT_MS*2);
+        Assert.assertTrue(msg, timeout < TIMEOUT_MS*2);
 
         if (sr == null) {
             Assert.fail();



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to