From 0f3b1be0b5779b48dc627d194e710fbd9234ed1e Mon Sep 17 00:00:00 2001 From: AWSHurneyt Date: Fri, 15 Mar 2024 12:20:47 -0700 Subject: [PATCH] Fixed test. Signed-off-by: AWSHurneyt --- .../org/opensearch/alerting/model/AlertContextTests.kt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/alerting/src/test/kotlin/org/opensearch/alerting/model/AlertContextTests.kt b/alerting/src/test/kotlin/org/opensearch/alerting/model/AlertContextTests.kt index 0f002ba22..c164301ef 100644 --- a/alerting/src/test/kotlin/org/opensearch/alerting/model/AlertContextTests.kt +++ b/alerting/src/test/kotlin/org/opensearch/alerting/model/AlertContextTests.kt @@ -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>? {