Skip to content

Commit

Permalink
Fixed test.
Browse files Browse the repository at this point in the history
Signed-off-by: AWSHurneyt <[email protected]>
  • Loading branch information
AWSHurneyt committed Mar 15, 2024
1 parent e8672de commit 0f3b1be
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -382,11 +382,7 @@ class AlertContextTests : OpenSearchTestCase() {
assertEquals("Template args start time does not", alertContext.alert.startTime.toEpochMilli(), templateArgs[Alert.START_TIME_FIELD])
assertEquals("Template args last notification time does not match", templateArgs[Alert.LAST_NOTIFICATION_TIME_FIELD], null)
assertEquals("Template args severity does not match", alertContext.alert.severity, templateArgs[Alert.SEVERITY_FIELD])
assertEquals(
"Template args clusters does not match",
alertContext.alert.clusters?.joinToString(","),
templateArgs[Alert.CLUSTERS_FIELD]
)

}

private fun formatAssociatedQueries(alertContext: AlertContext): List<Map<String, Any>>? {
Expand Down

0 comments on commit 0f3b1be

Please sign in to comment.