Skip to content

Commit

Permalink
fix detector test
Browse files Browse the repository at this point in the history
Signed-off-by: Surya Sashank Nistala <[email protected]>
  • Loading branch information
eirsep committed Jan 11, 2023
1 parent ce1e78b commit 89988c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ public void testDeletingADetector_single_ruleTopicIndex() throws IOException {

monitorId = ((List<String>) ((Map<String, Object>) 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);
Expand Down

0 comments on commit 89988c3

Please sign in to comment.