Fix play smoke test (#7819)

resolves #7813

caused by conflict between #7730 and #7801
This commit is contained in:
Trask Stalnaker 2023-02-14 14:36:27 -08:00 committed by GitHub
parent 4023a59068
commit 62267fd4dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -34,9 +34,8 @@ class PlaySmokeTest extends SmokeTest {
then:
response.contentUtf8() == "Welcome 1."
//Both play and akka-http support produce spans with the same name.
//One internal, one SERVER
countSpansByName(traces, '/welcome') == 2
countSpansByName(traces, 'GET /welcome') == 1 // SERVER span
countSpansByName(traces, '/welcome') == 1 // INTERNAL span
new TraceInspector(traces).countFilteredAttributes(SemanticAttributes.HTTP_ROUTE.key, "/welcome") == 1