Skip to content

Commit f6f6de1

Browse files
committed
fix
1 parent 3479bd2 commit f6f6de1

File tree

1 file changed

+2
-1
lines changed
  • smoke-tests/apps/JmxMetric/src/smokeTest/java/com/microsoft/applicationinsights/smoketest

1 file changed

+2
-1
lines changed

smoke-tests/apps/JmxMetric/src/smokeTest/java/com/microsoft/applicationinsights/smoketest/JmxMetricTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ private void verifyJmxMetricsSentToBreeze() throws Exception {
173173
// and confirm that the wildcard metric has the expected value
174174
// Java 21+ returns 6 more CollectionCount for the wildcard metric comparing to other Java
175175
// versions
176-
if (testing.getCurrentEnvironment() == TOMCAT_8_JAVA_21 || testing.getCurrentEnvironment() == TOMCAT_8_JAVA_23) {
176+
if (testing.getCurrentEnvironment() == TOMCAT_8_JAVA_21
177+
|| testing.getCurrentEnvironment() == TOMCAT_8_JAVA_23) {
177178
assertThat(wildcardValueSum).isEqualTo(gcFirstMatch + gcSecondMatch + 6);
178179
} else {
179180
assertThat(wildcardValueSum).isEqualTo(gcFirstMatch + gcSecondMatch);

0 commit comments

Comments
 (0)