Skip to content

Commit ce0923b

Browse files
committed
Remove Reactor Netty 2 from integration tests
Closes gh-31243
1 parent 2270498 commit ce0923b

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

spring-web/src/testFixtures/java/org/springframework/web/testfixture/http/server/reactive/bootstrap/AbstractHttpHandlerIntegrationTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2002-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -127,7 +127,6 @@ static Stream<Named<HttpServer>> httpServers() {
127127
return Stream.of(
128128
named("Jetty", new JettyHttpServer()),
129129
named("Reactor Netty", new ReactorHttpServer()),
130-
named("Reactor Netty 2", new ReactorHttpServer()),
131130
named("Tomcat", new TomcatHttpServer()),
132131
named("Undertow", new UndertowHttpServer())
133132
);

spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientIntegrationTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ class WebClientIntegrationTests {
103103
static Stream<Named<ClientHttpConnector>> arguments() {
104104
return Stream.of(
105105
named("Reactor Netty", new ReactorClientHttpConnector()),
106-
named("Reactor Netty 2", new ReactorNetty2ClientHttpConnector()),
107106
named("JDK", new JdkClientHttpConnector()),
108107
named("Jetty", new JettyClientHttpConnector()),
109108
named("HttpComponents", new HttpComponentsClientHttpConnector())

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2002-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -45,7 +45,6 @@
4545
import org.springframework.http.server.reactive.HttpHandler;
4646
import org.springframework.web.filter.reactive.ServerWebExchangeContextFilter;
4747
import org.springframework.web.reactive.DispatcherHandler;
48-
import org.springframework.web.reactive.socket.client.ReactorNetty2WebSocketClient;
4948
import org.springframework.web.reactive.socket.client.ReactorNettyWebSocketClient;
5049
import org.springframework.web.reactive.socket.client.TomcatWebSocketClient;
5150
import org.springframework.web.reactive.socket.client.UndertowWebSocketClient;
@@ -64,7 +63,6 @@
6463
import org.springframework.web.testfixture.http.server.reactive.bootstrap.HttpServer;
6564
import org.springframework.web.testfixture.http.server.reactive.bootstrap.JettyHttpServer;
6665
import org.springframework.web.testfixture.http.server.reactive.bootstrap.ReactorHttpServer;
67-
import org.springframework.web.testfixture.http.server.reactive.bootstrap.ReactorNetty2HttpServer;
6866
import org.springframework.web.testfixture.http.server.reactive.bootstrap.TomcatHttpServer;
6967
import org.springframework.web.testfixture.http.server.reactive.bootstrap.UndertowHttpServer;
7068

@@ -95,15 +93,13 @@ static Stream<Object[]> arguments() throws IOException {
9593
new TomcatWebSocketClient(),
9694
new org.springframework.web.reactive.socket.client.JettyWebSocketClient(),
9795
new ReactorNettyWebSocketClient(),
98-
new ReactorNetty2WebSocketClient(),
9996
new UndertowWebSocketClient(Xnio.getInstance().createWorker(OptionMap.EMPTY))
10097
};
10198

10299
Map<HttpServer, Class<?>> servers = new LinkedHashMap<>();
103100
servers.put(new TomcatHttpServer(TMP_DIR.getAbsolutePath(), WsContextListener.class), TomcatConfig.class);
104101
servers.put(new JettyHttpServer(), JettyConfig.class);
105102
servers.put(new ReactorHttpServer(), ReactorNettyConfig.class);
106-
servers.put(new ReactorNetty2HttpServer(), ReactorNetty2Config.class);
107103
servers.put(new UndertowHttpServer(), UndertowConfig.class);
108104

109105
// Try each client once against each server..

0 commit comments

Comments
 (0)