Skip to content

Commit 08a316c

Browse files
committed
fix generated class annotation test
1 parent b8514cc commit 08a316c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instrumentation/opentelemetry-instrumentation-annotations-1.16/javaagent/src/test/java/io/opentelemetry/test/annotation/WithSpanInstrumentationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ public void run() {
411411
.hasKind(SpanKind.INTERNAL)
412412
.hasNoParent()
413413
.hasAttributesSatisfyingExactly(
414-
equalTo(CODE_FUNCTION_NAME, TracedWithSpan.class.getName() + ".run")),
414+
equalTo(CODE_FUNCTION_NAME, "GeneratedJava6TestClass.run")),
415415
span ->
416416
span.hasName("intercept")
417417
.hasKind(SpanKind.INTERNAL)

0 commit comments

Comments
 (0)