Skip to content

Commit

Permalink
Fixed a flaky test condition. (opensearch-project#375)
Browse files Browse the repository at this point in the history
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
  • Loading branch information
AWSHurneyt committed Apr 21, 2022
1 parent f824ba7 commit aadd3f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ class MonitorRunnerServiceIT : AlertingRestTestCase() {
val trigger = randomQueryLevelTrigger(
condition = Script(
"""
return ctx.results[0].number_of_pending_tasks < 1
return ctx.results[0].number_of_pending_tasks >= 0
""".trimIndent()
),
destinationId = createDestination().id
Expand Down

0 comments on commit aadd3f2

Please sign in to comment.