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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org