Skip to content

Commit

Permalink
Fix apache-httpclient-5.0 latest dep tests (#12307)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit committed Sep 20, 2024
1 parent d23de4f commit 545a756
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ abstract class AbstractTest extends AbstractApacheHttpClientTest<SimpleHttpReque
protected void configure(HttpClientTestOptions.Builder optionsBuilder) {
super.configure(optionsBuilder);
optionsBuilder.spanEndsAfterBody();
optionsBuilder.setHttpProtocolVersion(
uri ->
Boolean.getBoolean("testLatestDeps") && uri.toString().startsWith("https")
? "2"
: "1.1");
}

@Override
Expand Down

0 comments on commit 545a756

Please sign in to comment.