Skip to content

Commit a4f6c13

Browse files
committed
Fix
1 parent 47ccc0c commit a4f6c13

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

agent/agent-tooling/src/test/java/com/microsoft/applicationinsights/agent/internal/profiler/triggers/RequestAlertPipelineBuilderTest.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,12 @@ public void configurationIsCorrectlyDuplicated() throws IOException {
5757
actualAlertingConfig.aggregation.type.name());
5858
Assertions.assertEquals(
5959
expectedRequesttrigger.threshold.type.name(), actualAlertingConfig.threshold.type.name());
60-
Assertions.assertEquals(expectedRequesttrigger.throttling, actualAlertingConfig.throttling);
60+
Assertions.assertEquals(
61+
expectedRequesttrigger.threshold.value, actualAlertingConfig.threshold.value);
62+
Assertions.assertEquals(
63+
expectedRequesttrigger.throttling.type.name(), actualAlertingConfig.throttling.type.name());
64+
Assertions.assertEquals(
65+
expectedRequesttrigger.throttling.value, actualAlertingConfig.throttling.value);
6166
Assertions.assertEquals(
6267
expectedRequesttrigger.profileDuration, actualAlertingConfig.profileDuration);
6368
}

0 commit comments

Comments
 (0)