Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Alerting/API Tests] Add await to objectRemover.removeAll() (#172621)
## Summary Resolves an "unhandled Promise rejection" found for a CI failure for a PR: https://buildkite.com/elastic/kibana-pull-request/builds/181932#018c3b27-e511-4678-9e18-50f90e02c934 ``` 2023-12-05 19:03:36 UTC | Unhandled Promise rejection detected: -- | -- | 2023-12-05 19:03:36 UTC | | 2023-12-05 19:03:36 UTC | Error: expected 204 "No Content", got 404 "Not Found" | 2023-12-05 19:03:36 UTC | at map (object_remover.ts:44:12) | 2023-12-05 19:03:36 UTC | at Array.map (<anonymous>) | 2023-12-05 19:03:36 UTC | at ObjectRemover.removeAll (object_remover.ts:38:28) | 2023-12-05 19:03:36 UTC | at Context.apply (max_queued_actions_circuit_breaker.ts:29:21) | 2023-12-05 19:03:36 UTC | at Object.apply (wrap_function.js:73:30) | 2023-12-05 19:03:36 UTC | at processTicksAndRejections (node:internal/process/task_queues:95:5) ```
- Loading branch information