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 2015/02/23 11:14:14 UTC

svn commit: r1661632 - /tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java

Author: markt
Date: Mon Feb 23 10:14:14 2015
New Revision: 1661632

URL: http://svn.apache.org/r1661632
Log:
Fix bug that meant test always hung until the background process count reached zero.

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=1661632&r1=1661631&r2=1661632&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java (original)
+++ tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java Mon Feb 23 10:14:14 2015
@@ -925,6 +925,7 @@ public class TestWsWebSocketContainer ex
                 break;
             }
             Thread.sleep(100);
+            count++;
         }
 
         Assert.assertEquals(0, BackgroundProcessManager.getInstance().getProcessCount());



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