From 14d7d9e3b2cda1dfd515f51d0fb2f4c396825e63 Mon Sep 17 00:00:00 2001 From: Riya Saxena Date: Wed, 18 Dec 2024 07:50:17 -0800 Subject: [PATCH] tests fix Signed-off-by: Riya Saxena --- .../java/org/opensearch/securityanalytics/alerts/AlertsIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/opensearch/securityanalytics/alerts/AlertsIT.java b/src/test/java/org/opensearch/securityanalytics/alerts/AlertsIT.java index 4b8f983e3..fe97a13be 100644 --- a/src/test/java/org/opensearch/securityanalytics/alerts/AlertsIT.java +++ b/src/test/java/org/opensearch/securityanalytics/alerts/AlertsIT.java @@ -956,7 +956,7 @@ public void testMultipleAggregationAndDocRules_alertSuccess() throws IOException getAlertsResponse = makeRequest(client(), "GET", SecurityAnalyticsPlugin.ALERTS_BASE_URI, params1, null); getAlertsBody = asMap(getAlertsResponse); // TODO enable asserts here when able - Assert.assertEquals(1, getAlertsBody.get("total_alerts")); + Assert.assertEquals(2, getAlertsBody.get("total_alerts")); } @Ignore