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

[Monitoring] Handle cloud test failures #74162

Merged

Conversation

chrisronline
Copy link
Contributor

Fixes #63055
Fixes #72191

Best way to test this is to stand up a cloud cluster and run the functional test runner against it, something like:

TEST_ES_URL={esUrll} TEST_KIBANA_URL={kibanaUrl} node ../scripts/functional_test_runner.js --config test/functional/config --grep "Monitoring app" --bail --debug --exclude-tag skipCloud

@chrisronline chrisronline added review Team:Monitoring Stack Monitoring team v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.10.0 labels Aug 3, 2020
@chrisronline chrisronline self-assigned this Aug 3, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/stack-monitoring (Team:Monitoring)

@chrisronline
Copy link
Contributor Author

@elasticmachine merge upstream

@chrisronline
Copy link
Contributor Author

@elasticmachine merge upstream

//it moves on to the cluster overview page.
await retry.try(async () => {
// it moves on to the cluster overview page.
await retry.tryForTime(10000, async () => {
Copy link
Contributor

@igoristic igoristic Aug 31, 2020

Choose a reason for hiding this comment

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

nit: Ten seconds seems kind of long. Is there any way to add Promise.race() condition? Maybe OR if a certain element is visible?

But, I think it's still fine if not, so up to you

Copy link
Contributor

@igoristic igoristic left a comment

Choose a reason for hiding this comment

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

Looks good 👍

@chrisronline
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

History

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

@chrisronline chrisronline merged commit 7826246 into elastic:master Aug 31, 2020
@chrisronline chrisronline deleted the monitoring/cloud_test_failures branch August 31, 2020 17:40
chrisronline added a commit to chrisronline/kibana that referenced this pull request Aug 31, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
chrisronline added a commit that referenced this pull request Aug 31, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@chrisronline
Copy link
Contributor Author

chrisronline commented Aug 31, 2020

Backport:
7.x: 55ca521
7.9: 91af195

chrisronline added a commit to chrisronline/kibana that referenced this pull request Sep 3, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
# Conflicts:
#	x-pack/test/functional/apps/monitoring/time_filter.js
chrisronline added a commit that referenced this pull request Sep 3, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
# Conflicts:
#	x-pack/test/functional/apps/monitoring/time_filter.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment