Author: markt Date: Tue Aug 20 11:14:39 2013 New Revision: 1515779 URL: http://svn.apache.org/r1515779 Log: Add the rather crucial missing i++ in the wait loop
Modified: tomcat/trunk/test/org/apache/tomcat/websocket/pojo/TestEncodingDecoding.java Modified: tomcat/trunk/test/org/apache/tomcat/websocket/pojo/TestEncodingDecoding.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/websocket/pojo/TestEncodingDecoding.java?rev=1515779&r1=1515778&r2=1515779&view=diff ============================================================================== --- tomcat/trunk/test/org/apache/tomcat/websocket/pojo/TestEncodingDecoding.java (original) +++ tomcat/trunk/test/org/apache/tomcat/websocket/pojo/TestEncodingDecoding.java Tue Aug 20 11:14:39 2013 @@ -180,6 +180,7 @@ public class TestEncodingDecoding extend if (Server.isLifeCycleEventCalled(name)) { break; } + i++; Thread.sleep(100); } Assert.assertTrue(Server.isLifeCycleEventCalled(name)); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org