Skip to content

Commit d36b345

Browse files
committed
fix stuff
1 parent 7e8beac commit d36b345

File tree

2 files changed

+5
-5
lines changed
  • instrumentation/spring/spring-webflux/spring-webflux-5.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/spring/webflux/v5_0/server
  • testing-common/src/main/java/io/opentelemetry/instrumentation/testing/junit/code

2 files changed

+5
-5
lines changed

instrumentation/spring/spring-webflux/spring-webflux-5.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/spring/webflux/v5_0/server/SpringWebfluxTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ private static List<AttributeAssertion> assertCodeFunction(Parameter parameter)
152152
? INNER_HANDLER_FUNCTION_CLASS_TAG_PREFIX
153153
: TestController.class.getName();
154154

155-
return codeFunctionAssertions(expectedPrefix, expectedFunctionName);
155+
return codeFunctionPrefixAssertions(expectedPrefix, expectedFunctionName);
156156
}
157157

158158
private static Stream<Arguments> provideParameters() {
@@ -428,7 +428,7 @@ void get404Test() {
428428
.hasEventsSatisfyingExactly(SpringWebfluxTest::resource404Exception)
429429
.hasAttributesSatisfyingExactly(
430430
codeFunctionAssertions(
431-
"org.springframework.web.reactive.resource.ResourceWebHandler.handle",
431+
"org.springframework.web.reactive.resource.ResourceWebHandler",
432432
"handle"))));
433433
}
434434

testing-common/src/main/java/io/opentelemetry/instrumentation/testing/junit/code/SemconvCodeStabilityUtil.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ public static List<AttributeAssertion> codeFunctionPrefixAssertions(
7878
@SuppressWarnings("deprecation") // testing deprecated code semconv
7979
private static List<AttributeAssertion> internalFunctionAssert(
8080
String methodName,
81-
//CHECKSTYLE:OFF
81+
// CHECKSTYLE:OFF
8282
OpenTelemetryAssertions.StringAssertConsumer functionNameAssert,
8383
OpenTelemetryAssertions.StringAssertConsumer namespaceAssert
84-
//CHECKSTYLE:ON
85-
) {
84+
// CHECKSTYLE:ON
85+
) {
8686
List<AttributeAssertion> assertions = new ArrayList<>();
8787
if (SemconvStability.isEmitStableCodeSemconv()) {
8888
assertions.add(satisfies(CodeAttributes.CODE_FUNCTION_NAME, functionNameAssert));

0 commit comments

Comments
 (0)