mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +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 org.awaitility.Awaitility;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.mockito.InOrder;
|
||||
import reactor.core.publisher.Mono;
|
||||
@ -126,11 +125,6 @@ class NettyReactiveWebServerFactoryTests extends AbstractReactiveWebServerFactor
|
||||
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) {
|
||||
String keyStore = "classpath:test.jks";
|
||||
String keyPassword = "password";
|
||||
|
@ -359,7 +359,7 @@ public abstract class AbstractReactiveWebServerFactoryTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
protected void whenARequestRemainsInFlightThenShutDownGracefullyDoesNotInvokeCallbackUntilTheRequestCompletes()
|
||||
void whenARequestRemainsInFlightThenShutDownGracefullyDoesNotInvokeCallbackUntilTheRequestCompletes()
|
||||
throws Exception {
|
||||
AbstractReactiveWebServerFactory factory = getFactory();
|
||||
factory.setShutdown(Shutdown.GRACEFUL);
|
||||
|
Loading…
Reference in New Issue
Block a user