test/jdk/java/net/httpclient/RetryWithCookie.java
branchhttp-client-branch
changeset 56771 73a6534bce94
parent 56507 2294c51eae30
child 56795 03ece2518428
--- a/test/jdk/java/net/httpclient/RetryWithCookie.java	Mon Jun 18 09:57:09 2018 +0100
+++ b/test/jdk/java/net/httpclient/RetryWithCookie.java	Tue Jun 19 09:13:58 2018 +0100
@@ -165,7 +165,7 @@
         http2TestServer = HttpTestServer.of(new Http2TestServer("localhost", false, 0));
         http2TestServer.addHandler(new CookieRetryHandler(), "/http2/cookie/");
         http2URI = "http://" + http2TestServer.serverAuthority() + "/http2/cookie/retry";
-        https2TestServer = HttpTestServer.of(new Http2TestServer("localhost", true, 0));
+        https2TestServer = HttpTestServer.of(new Http2TestServer("localhost", true, sslContext));
         https2TestServer.addHandler(new CookieRetryHandler(), "/https2/cookie/");
         https2URI = "https://" + https2TestServer.serverAuthority() + "/https2/cookie/retry";