Skip to content

Commit 814405b

Browse files
Remove warning log when JUnit 4 test method cannot be retrieved
1 parent 28c315b commit 814405b

File tree

1 file changed

+0
-1
lines changed
  • dd-java-agent/instrumentation/junit-4.10/src/main/java/datadog/trace/instrumentation/junit4

1 file changed

+0
-1
lines changed

dd-java-agent/instrumentation/junit-4.10/src/main/java/datadog/trace/instrumentation/junit4/JUnit4Utils.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ public static Method getTestMethod(final Description description) {
139139
return testClass.getMethod(methodName);
140140
} catch (NoSuchMethodException e) {
141141
LOGGER.debug("Could not get method named {} in class {}", methodName, testClass, e);
142-
LOGGER.warn("Could not get test method", e);
143142
return null;
144143
}
145144
}

0 commit comments

Comments
 (0)