diff --git a/jetty-websocket/javax-websocket-server-impl/src/test/java/org/eclipse/jetty/websocket/jsr356/server/browser/JsrBrowserDebugTool.java b/jetty-websocket/javax-websocket-server-impl/src/test/java/org/eclipse/jetty/websocket/jsr356/server/browser/JsrBrowserDebugTool.java index 5dabe2c6ff6..4ecd2899bee 100644 --- a/jetty-websocket/javax-websocket-server-impl/src/test/java/org/eclipse/jetty/websocket/jsr356/server/browser/JsrBrowserDebugTool.java +++ b/jetty-websocket/javax-websocket-server-impl/src/test/java/org/eclipse/jetty/websocket/jsr356/server/browser/JsrBrowserDebugTool.java @@ -90,7 +90,6 @@ public class JsrBrowserDebugTool server.setHandler(context); ServerContainer container = WebSocketServerContainerInitializer.configureContext(context); - container.setDefaultMaxSessionIdleTimeout(5000); container.addEndpoint(JsrBrowserSocket.class); LOG.info("{} setup on port {}",this.getClass().getName(),port); diff --git a/jetty-websocket/websocket-server/src/test/java/org/eclipse/jetty/websocket/server/browser/BrowserDebugTool.java b/jetty-websocket/websocket-server/src/test/java/org/eclipse/jetty/websocket/server/browser/BrowserDebugTool.java index d26156dde01..29a18702b62 100644 --- a/jetty-websocket/websocket-server/src/test/java/org/eclipse/jetty/websocket/server/browser/BrowserDebugTool.java +++ b/jetty-websocket/websocket-server/src/test/java/org/eclipse/jetty/websocket/server/browser/BrowserDebugTool.java @@ -113,7 +113,7 @@ public class BrowserDebugTool implements WebSocketCreator factory.setCreator(BrowserDebugTool.this); // Set the timeout - factory.getPolicy().setIdleTimeout(5000); + factory.getPolicy().setIdleTimeout(30000); } };