This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit f93d11b18622cd1127e3570456d40654f11541eb Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Jan 18 15:59:31 2024 +0000 Rename in preparation for adding server session expiration test --- ...va => TestWsWebSocketContainerSessionExpiryContainerClient.java} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/org/apache/tomcat/websocket/TestWsWebSocketContainerSessionExpiryContainer.java b/test/org/apache/tomcat/websocket/TestWsWebSocketContainerSessionExpiryContainerClient.java similarity index 94% rename from test/org/apache/tomcat/websocket/TestWsWebSocketContainerSessionExpiryContainer.java rename to test/org/apache/tomcat/websocket/TestWsWebSocketContainerSessionExpiryContainerClient.java index 3267269361..2f101f3473 100644 --- a/test/org/apache/tomcat/websocket/TestWsWebSocketContainerSessionExpiryContainer.java +++ b/test/org/apache/tomcat/websocket/TestWsWebSocketContainerSessionExpiryContainerClient.java @@ -35,7 +35,7 @@ import org.apache.tomcat.websocket.TestWsWebSocketContainer.EndpointA; * significantly extends the length of a test run when using multiple test * threads. */ -public class TestWsWebSocketContainerSessionExpiryContainer extends WsWebSocketContainerBaseTest { +public class TestWsWebSocketContainerSessionExpiryContainerClient extends WsWebSocketContainerBaseTest { @Test public void testSessionExpiryContainer() throws Exception { @@ -67,9 +67,9 @@ public class TestWsWebSocketContainerSessionExpiryContainer extends WsWebSocketC int count = 0; boolean isOpen = true; - while (isOpen && count < 8) { + while (isOpen && count < 100) { count++; - Thread.sleep(1000); + Thread.sleep(100); isOpen = false; for (Session session : setA) { if (session.isOpen()) { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org