diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/jetty/Jetty10ServletWebServerFactoryTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/jetty/Jetty10ServletWebServerFactoryTests.java index d35cff231df7..66f0111a3a43 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/jetty/Jetty10ServletWebServerFactoryTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/jetty/Jetty10ServletWebServerFactoryTests.java @@ -54,4 +54,10 @@ protected void noCompressionForUserAgent() { protected void jettyConfigurations() throws Exception { } + @Override + @Disabled("https://github.com/eclipse/jetty.project/issues/6164") + protected void whenHttp2IsEnabledAndSslIsDisabledThenH2cCanBeUsed() { + + } + } diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/server/AbstractServletWebServerFactoryTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/server/AbstractServletWebServerFactoryTests.java index 625e833d6986..e1fead8881d2 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/server/AbstractServletWebServerFactoryTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/server/AbstractServletWebServerFactoryTests.java @@ -1130,7 +1130,7 @@ void whenARequestIsActiveThenStopWillComplete() throws InterruptedException, Bro } @Test - void whenHttp2IsEnabledAndSslIsDisabledThenH2cCanBeUsed() + protected void whenHttp2IsEnabledAndSslIsDisabledThenH2cCanBeUsed() throws InterruptedException, ExecutionException, IOException { AbstractServletWebServerFactory factory = getFactory(); Http2 http2 = new Http2();