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

[Uptime] Fix flaky snapshot count test by adding timeout for required element #54839

Conversation

justinkambic
Copy link
Contributor

Summary

Fixes #54527.

This test was failing periodically because we were applying filters to our application state and expecting the data displayed to be present. At times this takes longer to render than what we were seeing in our local environments. This PR adds a retry block to those tests in an effort to ensure that the page has adequate time to re-render with the updated data.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@justinkambic justinkambic added blocker failed-test A test failure on a tracked branch, potentially flaky-test v8.0.0 Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability skipped-test release_note:skip Skip the PR/issue when compiling release notes v7.6.0 labels Jan 14, 2020
@justinkambic justinkambic self-assigned this Jan 14, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-test-triage (failed-test)

@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

Copy link
Contributor

@andrewvc andrewvc left a comment

Choose a reason for hiding this comment

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

LGTM WFG. Let's run this a second time after it goes green just in case. No rush here.

@justinkambic
Copy link
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

user doesn't have permission to update head repository

@justinkambic
Copy link
Contributor Author

Looks like we got a failure from an unrelated test.

@justinkambic
Copy link
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

user doesn't have permission to update head repository

@justinkambic
Copy link
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

user doesn't have permission to update head repository

@justinkambic justinkambic force-pushed the uptime_fix-flaky-test-snapshot-count branch from 048c04c to fabf96d Compare January 15, 2020 12:55
@justinkambic
Copy link
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

user doesn't have permission to update head repository

@justinkambic
Copy link
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

user doesn't have permission to update head repository

@justinkambic
Copy link
Contributor Author

@spalger is there a way I can get this PR to merge upstream so I don't have to manually merge master every time I want to re-run it?

@justinkambic
Copy link
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

user doesn't have permission to update head repository

@justinkambic justinkambic force-pushed the uptime_fix-flaky-test-snapshot-count branch from fabf96d to 17367c1 Compare January 21, 2020 13:33
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

@justinkambic
Copy link
Contributor Author

#56065 fixed the test that this was aimed at solving.

@justinkambic justinkambic deleted the uptime_fix-flaky-test-snapshot-count branch January 30, 2020 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test release_note:skip Skip the PR/issue when compiling release notes skipped-test Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.6.0 v8.0.0
Projects
None yet
4 participants