diff --git a/instrumentation-api-semconv/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/code/CodeSpanNameExtractorTest.java b/instrumentation-api-semconv/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/code/CodeSpanNameExtractorTest.java index 1c0cc3de110a..171451534d40 100644 --- a/instrumentation-api-semconv/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/code/CodeSpanNameExtractorTest.java +++ b/instrumentation-api-semconv/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/code/CodeSpanNameExtractorTest.java @@ -68,7 +68,7 @@ void shouldExtractFullSpanNameForLambda() { String spanName = underTest.extract(request); // then - assertEquals(getClass().getSimpleName() + "$$Lambda$.doSomething", spanName); + assertEquals(getClass().getSimpleName() + "$$Lambda.doSomething", spanName); } static class TestClass {}