Browse Source

Revert erroneously committed change

pull/1594/head
Rossen Stoyanchev 8 years ago
parent
commit
fb7b7d089b
  1. 4
      spring-webflux/src/test/java/org/springframework/web/reactive/socket/AbstractWebSocketIntegrationTests.java

4
spring-webflux/src/test/java/org/springframework/web/reactive/socket/AbstractWebSocketIntegrationTests.java

@ -171,9 +171,7 @@ public abstract class AbstractWebSocketIntegrationTests { @@ -171,9 +171,7 @@ public abstract class AbstractWebSocketIntegrationTests {
@Bean
public WebSocketService webSocketService() {
TomcatRequestUpgradeStrategy strategy = new TomcatRequestUpgradeStrategy();
strategy.setMaxSessionIdleTimeout(0L);
return new HandshakeWebSocketService(strategy);
return new HandshakeWebSocketService(getUpgradeStrategy());
}
protected abstract RequestUpgradeStrategy getUpgradeStrategy();

Loading…
Cancel
Save