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 2016/04/14 20:24:12 UTC

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

Author: markt
Date: Thu Apr 14 18:24:12 2016
New Revision: 1739153

URL: http://svn.apache.org/viewvc?rev=1739153&view=rev
Log:
Fix likely cause of occasional CI failure

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=1739153&r1=1739152&r2=1739153&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java (original)
+++ tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java Thu Apr 14 18:24:12 2016
@@ -361,6 +361,10 @@ public class TestWsWebSocketContainer ex
         // server to shutdown cleanly
         BlockingPojo.clearBlock();
 
+        // Close the client session, primarily to allow the
+        // BackgroundProcessManager to shut down.
+        wsSession.close();
+
         String msg = "Time out was [" + timeout + "] ms";
 
         // Check correct time passed



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