Skip to content

Commit

Permalink
Flush response stream in EC2RetriesTests (elastic#114115)
Browse files Browse the repository at this point in the history
This is apparently necessary when running with JDK23.

Relates elastic#114101 Closes elastic#114078
  • Loading branch information
DaveCTurner authored Oct 4, 2024
1 parent 9f7d7b1 commit 3cd809a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public void testEC2DiscoveryRetriesOnRateLimiting() throws IOException {
exchange.getResponseHeaders().set("Content-Type", "text/xml; charset=UTF-8");
exchange.sendResponseHeaders(HttpStatus.SC_OK, responseBody.length);
exchange.getResponseBody().write(responseBody);
exchange.getResponseBody().flush();
return;
}
}
Expand Down

0 comments on commit 3cd809a

Please sign in to comment.