test/jdk/java/net/httpclient/StreamingBody.java
branchhttp-client-branch
changeset 56771 73a6534bce94
parent 56451 9585061fdb04
child 56795 03ece2518428
--- a/test/jdk/java/net/httpclient/StreamingBody.java	Mon Jun 18 09:57:09 2018 +0100
+++ b/test/jdk/java/net/httpclient/StreamingBody.java	Tue Jun 19 09:13:58 2018 +0100
@@ -136,7 +136,7 @@
         http2TestServer = HttpTestServer.of(new Http2TestServer("localhost", false, 0));
         http2TestServer.addHandler(new MessageHandler(), "/http2/streamingbody/");
         http2URI = "http://" + http2TestServer.serverAuthority() + "/http2/streamingbody/y";
-        https2TestServer = HttpTestServer.of(new Http2TestServer("localhost", true, 0));
+        https2TestServer = HttpTestServer.of(new Http2TestServer("localhost", true, sslContext));
         https2TestServer.addHandler(new MessageHandler(), "/https2/streamingbody/");
         https2URI = "https://" + https2TestServer.serverAuthority() + "/https2/streamingbody/z";