Author: markt Date: Thu Apr 14 12:49:00 2016 New Revision: 1739080 URL: http://svn.apache.org/viewvc?rev=1739080&view=rev Log: Fix test that fails with additional BackgroundProcessManager checks
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=1739080&r1=1739079&r2=1739080&view=diff ============================================================================== --- tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java (original) +++ tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java Thu Apr 14 12:49:00 2016 @@ -427,6 +427,10 @@ public class TestWsWebSocketContainer ex loops++; } + // Close the client session, primarily to allow the + // BackgroundProcessManager to shut down. + wsSession.close(); + // Check the right exception was thrown Assert.assertNotNull(ConstantTxEndpoint.getException()); Assert.assertEquals(ExecutionException.class, --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org