Skip to content

Commit

Permalink
fixing error
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Choi <[email protected]>
  • Loading branch information
JacobCho-i committed Oct 20, 2023
1 parent a27bc85 commit f1b30c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,7 @@ class MonitorRunnerServiceIT : AlertingRestTestCase() {

// Execute Monitor and check that both Alerts were updated
OpenSearchTestCase.waitUntil({
return@waitUntil (searchAlerts(monitor, AlertIndices.ALL_ALERT_INDEX_PATTERN).size == 2)
return@waitUntil false
}, 200, TimeUnit.MILLISECONDS)
executeMonitor(monitor.id)
currentAlerts = searchAlerts(monitor, AlertIndices.ALL_ALERT_INDEX_PATTERN)
Expand Down

0 comments on commit f1b30c5

Please sign in to comment.