Skip to content

Commit 10a540b

Browse files
authored
Fixing flaky alert deletion tests (#226281)
Fixes #226076 Fixes #226074 Fixes #225725 Fixes #225280 Fixes #224985 Fixes #224934 Fixes #224742 Fixes #224675 Fixes #224670 Fixes #224135 Fixes #223437 Fixes #223364 ## Summary The first 9 issues were flaky with error `Error: expected 200 to sort of equal 204`. This is caused by this PR #223336 which has the schedule API return a 200 if an instance of the task was already running for the space. This flakiness should be fixed by retrying the schedule request until a 204 is achieved. The last 3 issues were flaky before the prior PR was merged so I suspect they ran into the same issue (where another instance of the task was already running so the new task was not kicked off but no indication of this was returned).
1 parent 24a5217 commit 10a540b

File tree

2 files changed

+226
-255
lines changed
  • x-pack/platform/test/alerting_api_integration/security_and_spaces

2 files changed

+226
-255
lines changed

0 commit comments

Comments
 (0)