From 89988c3cd1acad8e61d175c1137af4fe0609bbf3 Mon Sep 17 00:00:00 2001 From: Surya Sashank Nistala Date: Tue, 10 Jan 2023 20:40:19 -0800 Subject: [PATCH] fix detector test Signed-off-by: Surya Sashank Nistala --- .../securityanalytics/resthandler/DetectorRestApiIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/opensearch/securityanalytics/resthandler/DetectorRestApiIT.java b/src/test/java/org/opensearch/securityanalytics/resthandler/DetectorRestApiIT.java index 69acd4225..e20f69161 100644 --- a/src/test/java/org/opensearch/securityanalytics/resthandler/DetectorRestApiIT.java +++ b/src/test/java/org/opensearch/securityanalytics/resthandler/DetectorRestApiIT.java @@ -575,7 +575,7 @@ public void testDeletingADetector_single_ruleTopicIndex() throws IOException { monitorId = ((List) ((Map) hit.getSourceAsMap().get("detector")).get("monitor_id")).get(0); - indexDoc(index, "1", randomDoc()); + indexDoc(index, "2", randomDoc()); executeResponse = executeAlertingMonitor(monitorId, Collections.emptyMap()); executeResults = entityAsMap(executeResponse);