Skip to content

Commit 2e7f580

Browse files
committed
disable unit test, since HttpClient does not support "http2 prior knowledge"
1 parent a306c7c commit 2e7f580

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/java/robaho/net/httpserver/http2/Http2Test.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import robaho.net.httpserver.LoggingFilter;
2828

2929
@Test(enabled=false) // this is disabled since JDK HttpClient cannot perform "prior knowledge" Http2 connections over non-SSL
30-
3130
public class Http2Test {
3231

3332
static {
@@ -63,7 +62,7 @@ public void tearDown() {
6362
server.stop(0);
6463
}
6564

66-
@Test
65+
@Test(enabled=false)
6766
public void testHttp2Request() throws InterruptedException, IOException, URISyntaxException {
6867
var client = HttpClient.newBuilder().version(Version.HTTP_2).build();
6968
var request = HttpRequest.newBuilder(new URI("http://localhost:9000"+path)).POST(HttpRequest.BodyPublishers.ofString("This is a test")).build();

0 commit comments

Comments
 (0)