Upgrade to Californium snapshots

Towards Californium SR2 to confirm fix for SPR-17306.
This commit is contained in:
Rossen Stoyanchev
2018-10-23 15:12:05 -04:00
parent 1cb08f5782
commit 42b7c5a79b
2 changed files with 6 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ ext {
kotlinVersion = "1.2.71"
log4jVersion = "2.11.1"
nettyVersion = "4.1.30.Final"
reactorVersion = "Californium-SR1"
reactorVersion = "Californium-BUILD-SNAPSHOT"
rxjavaVersion = "1.3.8"
rxjavaAdapterVersion = "1.2.1"
rxjava2Version = "2.2.3"
@@ -148,6 +148,7 @@ configure(allprojects) { project ->
repositories {
maven { url "https://repo.spring.io/libs-release" }
maven { url "https://repo.spring.io/snapshot" } // Californium snapshots
}
dependencies {

View File

@@ -197,7 +197,10 @@ public class WebSocketIntegrationTests extends AbstractWebSocketIntegrationTests
@Override
public Mono<Void> handle(WebSocketSession session) {
return Flux.never().mergeWith(session.close(CloseStatus.GOING_AWAY)).then();
return session.send(Flux
.error(new Throwable())
.onErrorResume(ex -> session.close(CloseStatus.GOING_AWAY)) // SPR-17306 (nested close)
.cast(WebSocketMessage.class));
}
}