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/16 17:20:39 UTC
svn commit: r1739474 -
/tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java
Author: markt
Date: Sat Apr 16 15:20:39 2016
New Revision: 1739474
URL: http://svn.apache.org/viewvc?rev=1739474&view=rev
Log:
Fix a potential cause of a failing CI test
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=1739474&r1=1739473&r2=1739474&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java (original)
+++ tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java Sat Apr 16 15:20:39 2016
@@ -661,6 +661,13 @@ public class TestWsWebSocketContainer ex
Assert.assertEquals(2, setB.size());
Assert.assertTrue(setB.remove(s1b));
Assert.assertTrue(setB.remove(s2b));
+
+ // Close sessions explicitly as Gump reports a session remains open at
+ // the end of this test
+ s2a.close();
+ s3a.close();
+ s1b.close();
+ s2b.close();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org