Skip to content

Commit

Permalink
Reconfigured potentially flaky trigger condition for a test case.
Browse files Browse the repository at this point in the history
Signed-off-by: AWSHurneyt <[email protected]>
  • Loading branch information
AWSHurneyt committed Mar 30, 2022
1 parent 5a1b96f commit 35b5c4a
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 MonitorRunnerIT : 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 35b5c4a

Please sign in to comment.