Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing flaky runSoon test #142652

Merged
merged 4 commits into from
Oct 5, 2022
Merged

Fixing flaky runSoon test #142652

merged 4 commits into from
Oct 5, 2022

Conversation

ymao1
Copy link
Contributor

@ymao1 ymao1 commented Oct 4, 2022

Fixes #142564

Summary

Adding retries to run soon test. Sometimes when calling runSoon, the rule is already running and will return a 200, not a 204. Retrying until we get expected 204.

Flaky test runner: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1361

@ymao1 ymao1 changed the title Unskipping test Fixing flaky disable and runSoon tests Oct 4, 2022
@ymao1 ymao1 changed the title Fixing flaky disable and runSoon tests Fixing flaky runSoon test Oct 4, 2022
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@ymao1 ymao1 self-assigned this Oct 5, 2022
@ymao1 ymao1 added Feature:Alerting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.6.0 v8.5.0 labels Oct 5, 2022
@ymao1 ymao1 marked this pull request as ready for review October 5, 2022 12:02
@ymao1 ymao1 requested a review from a team as a code owner October 5, 2022 12:02
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

Copy link
Contributor

@doakalexi doakalexi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ymao1 ymao1 merged commit f644fde into elastic:main Oct 5, 2022
@ymao1 ymao1 deleted the flaky-test-runsoon branch October 5, 2022 12:26
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 5, 2022
* Unskipping test

* Unskipping test

* Adding retries

* Cleanup

(cherry picked from commit f644fde)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.5

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Oct 5, 2022
* Unskipping test

* Unskipping test

* Adding retries

* Cleanup

(cherry picked from commit f644fde)

Co-authored-by: Ying Mao <[email protected]>
WafaaNasr pushed a commit to WafaaNasr/kibana that referenced this pull request Oct 11, 2022
* Unskipping test

* Unskipping test

* Adding retries

* Cleanup
WafaaNasr pushed a commit to WafaaNasr/kibana that referenced this pull request Oct 14, 2022
* Unskipping test

* Unskipping test

* Adding retries

* Cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Alerting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.5.0 v8.6.0
Projects
None yet
5 participants