Skip to content

Commit 6360692

Browse files
committed
only check that the first frame tags are present. we don't really care about *all* them at this point.
1 parent 64347d6 commit 6360692

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

dd-java-agent/instrumentation/grpc-1.5/src/test/groovy/GrpcCodeOriginTest.groovy

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -221,12 +221,9 @@ abstract class GrpcCodeOriginTest extends VersionedNamingTestBase {
221221
"$Tags.SPAN_KIND" Tags.SPAN_KIND_SERVER
222222
"status.code" "OK"
223223
isPresent(DDTags.DD_CODE_ORIGIN_TYPE)
224-
isPresent(format(DDTags.DD_CODE_ORIGIN_FRAME, 0, "signature"))
225224

226-
for (i in 0..<8) {
227-
for (label in ["file", "line", "method", "type"]) {
228-
isPresent(format(DDTags.DD_CODE_ORIGIN_FRAME, i, label))
229-
}
225+
for (label in ["file", "line", "method", "type", "signature"]) {
226+
isPresent(format(DDTags.DD_CODE_ORIGIN_FRAME, 0, label))
230227
}
231228
defaultTags(true)
232229
}

0 commit comments

Comments
 (0)