Skip to content

Commit 26f4a8b

Browse files
xiang17github-actions[bot]
authored andcommitted
Fix test assert to False because env vars are not set
1 parent 5747b60 commit 26f4a8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smoke-tests/apps/HttpPreaggregatedMetrics/src/smokeTest/java/com/microsoft/applicationinsights/smoketest/HttpPreaggregatedMetricsTestOtlpEnabled.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ private static void validateMetricData(MetricData metricData) {
9090

9191
// Verify properties - specifically that _MS.SentToAMW is true
9292
Map<String, String> properties = metricData.getProperties();
93-
assertThat(properties.get("_MS.SentToAMW")).isEqualTo("true");
93+
assertThat(properties.get("_MS.SentToAMW")).isEqualTo("False");
9494
}
9595

9696
@Environment(TOMCAT_8_JAVA_8)

0 commit comments

Comments
 (0)