mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Reinstate disabled Reactor Netty test
Reinstate test now that we are on a reactor-netty releases that fixes reactor/reactor-netty issue 1093. Closes gh-21437
This commit is contained in:
parent
2a37b2e258
commit
069d2769f4
@ -21,7 +21,6 @@ import java.time.Duration;
|
|||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
||||||
import org.awaitility.Awaitility;
|
import org.awaitility.Awaitility;
|
||||||
import org.junit.jupiter.api.Disabled;
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import org.mockito.InOrder;
|
import org.mockito.InOrder;
|
||||||
import reactor.core.publisher.Mono;
|
import reactor.core.publisher.Mono;
|
||||||
@ -126,11 +125,6 @@ class NettyReactiveWebServerFactoryTests extends AbstractReactiveWebServerFactor
|
|||||||
this.webServer.stop();
|
this.webServer.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Disabled("Flaky due to https://github.com/reactor/reactor-netty/issues/1093")
|
|
||||||
@Override
|
|
||||||
protected void whenARequestRemainsInFlightThenShutDownGracefullyDoesNotInvokeCallbackUntilTheRequestCompletes() {
|
|
||||||
}
|
|
||||||
|
|
||||||
protected Mono<String> testSslWithAlias(String alias) {
|
protected Mono<String> testSslWithAlias(String alias) {
|
||||||
String keyStore = "classpath:test.jks";
|
String keyStore = "classpath:test.jks";
|
||||||
String keyPassword = "password";
|
String keyPassword = "password";
|
||||||
|
@ -359,7 +359,7 @@ public abstract class AbstractReactiveWebServerFactoryTests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
protected void whenARequestRemainsInFlightThenShutDownGracefullyDoesNotInvokeCallbackUntilTheRequestCompletes()
|
void whenARequestRemainsInFlightThenShutDownGracefullyDoesNotInvokeCallbackUntilTheRequestCompletes()
|
||||||
throws Exception {
|
throws Exception {
|
||||||
AbstractReactiveWebServerFactory factory = getFactory();
|
AbstractReactiveWebServerFactory factory = getFactory();
|
||||||
factory.setShutdown(Shutdown.GRACEFUL);
|
factory.setShutdown(Shutdown.GRACEFUL);
|
||||||
|
Loading…
Reference in New Issue
Block a user