Skip to content

Commit 3a09295

Browse files
committed
Update
1 parent a743462 commit 3a09295

File tree

3 files changed

+22
-14
lines changed

3 files changed

+22
-14
lines changed

instrumentation/play/play-ws/play-ws-2.1/javaagent/src/test/groovy/PlayWsClientTest.groovy

Lines changed: 0 additions & 12 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
* Copyright The OpenTelemetry Authors
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
package io.opentelemetry.javaagent.instrumentation.playws.v2_1;
7+
8+
import io.opentelemetry.javaagent.instrumentation.playws.PlayJavaStreamedWsClientBaseTest;
9+
import io.opentelemetry.javaagent.instrumentation.playws.PlayJavaWsClientBaseTest;
10+
import io.opentelemetry.javaagent.instrumentation.playws.PlayScalaStreamedWsClientBaseTest;
11+
import io.opentelemetry.javaagent.instrumentation.playws.PlayScalaWsClientBaseTest;
12+
13+
class PlayJavaWsClientTest extends PlayJavaWsClientBaseTest {}
14+
15+
class PlayJavaStreamedWsClientTest extends PlayJavaStreamedWsClientBaseTest {}
16+
17+
class PlayScalaWsClientTest extends PlayScalaWsClientBaseTest {}
18+
19+
class PlayScalaStreamedWsClientTest extends PlayScalaStreamedWsClientBaseTest {}

instrumentation/play/play-ws/play-ws-common/testing/src/main/java/io/opentelemetry/javaagent/instrumentation/playws/PlayJavaStreamedWsClientBaseTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import play.libs.ws.StandaloneWSResponse;
1919
import play.libs.ws.ahc.StandaloneAhcWSClient;
2020

21-
class PlayJavaStreamedWsClientBaseTest extends PlayWsClientBaseTest<StandaloneWSRequest> {
21+
public class PlayJavaStreamedWsClientBaseTest extends PlayWsClientBaseTest<StandaloneWSRequest> {
2222

2323
private static StandaloneWSClient wsClient;
2424
private static StandaloneWSClient wsClientWithReadTimeout;
@@ -79,7 +79,8 @@ public void sendRequestWithCallback(
7979
});
8080
}
8181

82-
private static CompletionStage<StandaloneWSResponse> internalSendRequest(StandaloneWSRequest request) {
82+
private static CompletionStage<StandaloneWSResponse> internalSendRequest(
83+
StandaloneWSRequest request) {
8384
CompletionStage<? extends StandaloneWSResponse> stream = request.stream();
8485
// The status can be ready before the body so explicitly call wait for body to be ready
8586
return stream

0 commit comments

Comments
 (0)