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

[Code] fix flaky functional test #43563

Merged
merged 3 commits into from
Aug 29, 2019
Merged

[Code] fix flaky functional test #43563

merged 3 commits into from
Aug 29, 2019

Conversation

WangQianliang
Copy link
Contributor

Summary

fix flaky functional test

Checklist

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

- [ ] This was checked for cross-browser compatibility, including a check against IE11
- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)
- [ ] Documentation was added for features that require explanation or tutorials
- [ ] Unit or functional tests were updated or added to match the most common scenarios
- [ ] This was checked for keyboard-only and screenreader accessibility

For maintainers

- [ ] This was checked for breaking API changes and was labeled appropriately
- [ ] This includes a feature addition or change that requires a release note and was labeled appropriately

@WangQianliang WangQianliang added v8.0.0 Team:Code release_note:skip Skip the PR/issue when compiling release notes v7.4.0 labels Aug 20, 2019
@WangQianliang WangQianliang requested a review from mw-ding August 20, 2019 06:58
@elasticmachine
Copy link
Contributor

Pinging @elastic/code

@WangQianliang
Copy link
Contributor Author

Those two tests are flaky probably because of time, since refresh a page could take longer time. @mw-ding

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@zfy0701 zfy0701 left a comment

Choose a reason for hiding this comment

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

are you sure this will fix the problem?
for a repo of this small, 15s seems quite long

@WangQianliang
Copy link
Contributor Author

are you sure this will fix the problem?
for a repo of this small, 15s seems quite long

In last fix, I've tested those test for 40 times and it went fine.
The recent failure showed the page hasn't been loaded yet.
image

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@WangQianliang
Copy link
Contributor Author

retest

@elasticmachine
Copy link
Contributor

💔 Build Failed

@WangQianliang
Copy link
Contributor Author

retest

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@WangQianliang
Copy link
Contributor Author

retest

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@mw-ding
Copy link
Contributor

mw-ding commented Aug 28, 2019

@WangQianliang what's the status for this PR now? Is this ready to review?

@WangQianliang
Copy link
Contributor Author

@WangQianliang what's the status for this PR now? Is this ready to review?

fixed some test failure, will check in soon

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@WangQianliang WangQianliang merged commit 950a2b5 into elastic:master Aug 29, 2019
@WangQianliang WangQianliang deleted the code-fix-flaky-test branch August 29, 2019 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported release_note:skip Skip the PR/issue when compiling release notes v7.4.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants