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

[ML] Functional tests - fix calendar "apply to all jobs" service method #83071

Merged
merged 1 commit into from
Nov 10, 2020

Conversation

pheyos
Copy link
Member

@pheyos pheyos commented Nov 10, 2020

Summary

This PR fixes the calendar service method assertApplyToAllJobsSwitchCheckState by adding a missing await.

Details

This caused a rare (~ 1 out of 30) test failure, especially on cloud, when the switch was clicked too early and due to the missing await the retry in toggleApplyToAllJobsSwitch hasn't been triggered correctly.

I've reproduce this issue on master in a cloud flaky test runner job.

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@pheyos
Copy link
Member Author

pheyos commented Nov 10, 2020

Checking test stability in a cloud flaky test runner job ... no failure in 40 runs ✔️

@qn895
Copy link
Member

qn895 commented Nov 10, 2020

LGTM

Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

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

LGTM

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

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

@pheyos pheyos merged commit 6f8f8eb into elastic:master Nov 10, 2020
@pheyos pheyos deleted the stabilize_calendar_all_jobs_switch branch November 10, 2020 19:40
pheyos added a commit to pheyos/kibana that referenced this pull request Nov 10, 2020
…od (elastic#83071)

This PR fixes the calendar service method assertApplyToAllJobsSwitchCheckState by adding a missing await.
pheyos added a commit to pheyos/kibana that referenced this pull request Nov 10, 2020
…od (elastic#83071)

This PR fixes the calendar service method assertApplyToAllJobsSwitchCheckState by adding a missing await.
pheyos added a commit that referenced this pull request Nov 11, 2020
…od (#83071) (#83095)

This PR fixes the calendar service method assertApplyToAllJobsSwitchCheckState by adding a missing await.
pheyos added a commit that referenced this pull request Nov 11, 2020
…od (#83071) (#83096)

This PR fixes the calendar service method assertApplyToAllJobsSwitchCheckState by adding a missing await.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants