Skip to content

Commit 17efec7

Browse files
committed
rename
1 parent 9dd1645 commit 17efec7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

instrumentation/aws-sdk/aws-sdk-2.2/testing/src/main/java/io/opentelemetry/instrumentation/awssdk/v2_2/AbstractAws2ClientCoreTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ protected void configureSdkClient(SdkClientBuilder<?, ?> builder) {
115115
"attributeOne", AttributeValue.builder().s("one").build(),
116116
"attributeTwo", AttributeValue.builder().s("two").build());
117117

118-
private void executeCall(String operation, Object response)
118+
private void validateOperationResponse(String operation, Object response)
119119
throws ExecutionException, InterruptedException {
120120
if (response instanceof Future) {
121121
response = ((Future<?>) response).get();
@@ -378,7 +378,7 @@ void testSendDynamoDbRequestWithBuilderAndMockedResponse(
378378
.build();
379379
server.enqueue(HttpResponse.of(HttpStatus.OK, MediaType.PLAIN_TEXT_UTF_8, ""));
380380
Object response = call.apply(client);
381-
executeCall(operation, response);
381+
validateOperationResponse(operation, response);
382382
}
383383

384384
@ParameterizedTest
@@ -398,6 +398,6 @@ void testSendDynamoDbAsyncRequestWithBuilderAndMockedResponse(
398398
.build();
399399
server.enqueue(HttpResponse.of(HttpStatus.OK, MediaType.PLAIN_TEXT_UTF_8, ""));
400400
Object response = asyncCall.apply(client);
401-
executeCall(operation, response);
401+
validateOperationResponse(operation, response);
402402
}
403403
}

0 commit comments

Comments
 (0)