From f93d11b18622cd1127e3570456d40654f11541eb Mon Sep 17 00:00:00 2001 From: Mark Thomas Date: Thu, 18 Jan 2024 15:59:31 +0000 Subject: [PATCH] Rename in preparation for adding server session expiration test --- ...stWsWebSocketContainerSessionExpiryContainerClient.java} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename test/org/apache/tomcat/websocket/{TestWsWebSocketContainerSessionExpiryContainer.java => TestWsWebSocketContainerSessionExpiryContainerClient.java} (94%) 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 326726936142..2f101f3473fb 100644 --- a/test/org/apache/tomcat/websocket/TestWsWebSocketContainerSessionExpiryContainer.java +++ b/test/org/apache/tomcat/websocket/TestWsWebSocketContainerSessionExpiryContainerClient.java @@ -35,7 +35,7 @@ * 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 void testSessionExpiryContainer() throws Exception { 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()) {