Skip to content

Commit

Permalink
Update test/jdk/java/net/httpclient/http2/StreamFlowControlTest.java
Browse files Browse the repository at this point in the history
Co-authored-by: Andrey Turbanov <[email protected]>
  • Loading branch information
dfuch and turbanoff authored Nov 12, 2024
1 parent 9d21e58 commit 7c3ad2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public void setup() throws Exception {
this.https2TestServer.start();

// warmup to eliminate delay due to SSL class loading and initialization.
try (var client = HttpClient.newBuilder().sslContext(sslContext).build();) {
try (var client = HttpClient.newBuilder().sslContext(sslContext).build()) {
var request = HttpRequest.newBuilder(URI.create(h2Head)).HEAD().build();
var resp = client.send(request, BodyHandlers.discarding());
assertEquals(resp.statusCode(), 200);
Expand Down

0 comments on commit 7c3ad2c

Please sign in to comment.