Skip to content

Commit 62267fd

Browse files
authored
Fix play smoke test (#7819)
resolves #7813 caused by conflict between #7730 and #7801
1 parent 4023a59 commit 62267fd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

smoke-tests/src/test/groovy/io/opentelemetry/smoketest/PlaySmokeTest.groovy

+2-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ class PlaySmokeTest extends SmokeTest {
3434

3535
then:
3636
response.contentUtf8() == "Welcome 1."
37-
//Both play and akka-http support produce spans with the same name.
38-
//One internal, one SERVER
39-
countSpansByName(traces, '/welcome') == 2
37+
countSpansByName(traces, 'GET /welcome') == 1 // SERVER span
38+
countSpansByName(traces, '/welcome') == 1 // INTERNAL span
4039

4140
new TraceInspector(traces).countFilteredAttributes(SemanticAttributes.HTTP_ROUTE.key, "/welcome") == 1
4241

0 commit comments

Comments
 (0)