This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit b42d224ca2c8758b7257406de0e2efe1068aa71a
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 ee5b232ee2..aad99b46f7 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

Reply via email to