Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova committed Jan 22, 2025
1 parent 623de4c commit 11f60cc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sdk/clientcore/http-stress/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<dependency>
<groupId>io.clientcore</groupId>
<artifactId>core</artifactId>
<version>1.0.0-beta.2</version> <!-- {x-version-update;io.clientcore:core;dependency} -->
<version>1.0.0-beta.3</version> <!-- {x-version-update;io.clientcore:core;current} -->
</dependency>
<dependency>
<groupId>io.clientcore</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ private HttpRequest createRequest() {

private HttpPipelineBuilder getPipelineBuilder() {
HttpPipelineBuilder builder = new HttpPipelineBuilder().policies(new HttpRetryPolicy(),
new HttpInstrumentationPolicy(new HttpInstrumentationOptions().setHttpLoggingEnabled(true)));
new HttpInstrumentationPolicy(new HttpInstrumentationOptions()
.setHttpLogLevel(HttpInstrumentationOptions.HttpLogDetailLevel.HEADERS)));

if (options.getHttpClient() == PerfStressOptions.HttpClientType.OKHTTP) {
builder.httpClient(new OkHttpHttpClientProvider().getSharedInstance());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ private HttpRequest createRequest() {

private HttpPipelineBuilder getPipelineBuilder() {
HttpPipelineBuilder builder = new HttpPipelineBuilder().policies(new HttpRetryPolicy(),
new HttpInstrumentationPolicy(new HttpInstrumentationOptions().setHttpLoggingEnabled(true)));
new HttpInstrumentationPolicy(new HttpInstrumentationOptions()
.setHttpLogLevel(HttpInstrumentationOptions.HttpLogDetailLevel.HEADERS)));

if (options.getHttpClient() == PerfStressOptions.HttpClientType.OKHTTP) {
builder.httpClient(new OkHttpHttpClientProvider().getSharedInstance());
Expand Down

0 comments on commit 11f60cc

Please sign in to comment.