ApplicationInsights-Java
ApplicationInsights-Java copied to clipboard
Sporadic test failure: JmxMetricTest
JmxMetricTest$Tomcat8Java8Test > doMostBasicTest() FAILED
java.lang.AssertionError:
Expecting HashSet:
["NameWithDot",
"DotInAttributeNameAsPathSeparator",
"BooleanJmxMetric",
"WildcardJmxMetric",
"DefaultJmxMetricNameOverride",
"PSMarkSweep",
"PSScavenge"]
to contain:
["Loaded Class Count",
"NameWithDot",
"DotInAttributeNameAsPathSeparator",
"BooleanJmxMetric",
"DefaultJmxMetricNameOverride",
"WildcardJmxMetric"]
but could not find the following element(s):
["Loaded Class Count"]
at com.microsoft.applicationinsights.smoketest.JmxMetricTest.verifyJmxMetricsSentToBreeze(JmxMetricTest.java:183)
at com.microsoft.applicationinsights.smoketest.JmxMetricTest.doMostBasicTest(JmxMetricTest.java:91)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)