diff --git a/instrumentation/spring/spring-webflux/spring-webflux-5.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/spring/webflux/v5_0/server/SpringWebfluxTest.java b/instrumentation/spring/spring-webflux/spring-webflux-5.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/spring/webflux/v5_0/server/SpringWebfluxTest.java index 11af191f8cd7..928075f47658 100644 --- a/instrumentation/spring/spring-webflux/spring-webflux-5.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/spring/webflux/v5_0/server/SpringWebfluxTest.java +++ b/instrumentation/spring/spring-webflux/spring-webflux-5.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/spring/webflux/v5_0/server/SpringWebfluxTest.java @@ -491,7 +491,7 @@ void basicPostTest() { .hasParent(trace.getSpan(0)) .hasAttributesSatisfyingExactly( equalTo(CODE_FUNCTION, "handle"), - equalTo(CODE_NAMESPACE, "server.EchoHandlerFunction")), + equalTo(CODE_NAMESPACE, EchoHandlerFunction.class.getName())), span -> span.hasName("echo").hasParent(trace.getSpan(1)).hasTotalAttributeCount(0))); }