Skip to content

[Monitoring] Handle cloud test failures#74162

Merged
chrisronline merged 4 commits intoelastic:masterfrom
chrisronline:monitoring/cloud_test_failures
Aug 31, 2020
Merged

[Monitoring] Handle cloud test failures#74162
chrisronline merged 4 commits intoelastic:masterfrom
chrisronline:monitoring/cloud_test_failures

Conversation

@chrisronline
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

@chrisronline
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@chrisronline chrisronline requested a review from igoristic August 26, 2020 16:01
@chrisronline
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
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
Copy Markdown
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

Labels

release_note:skip Skip the PR/issue when compiling release notes review Team:Monitoring Stack Monitoring team v7.10.0 v8.0.0

Projects

None yet

4 participants