-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Fixes flakiness in timelion viz functional test #112805
Conversation
💚 Build SucceededMetrics [docs]
To update your PR or re-run it, just comment with: |
Pinging @elastic/kibana-vis-editors (Team:VisEditors) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review.
Curious on why moving the commas made it more stable than before TBH. 🤔
* Fixes flakiness in timelion viz functional test * Add sleep
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
* Fixes flakiness in timelion viz functional test * Add sleep Co-authored-by: Stratoula Kalafateli <[email protected]>
Summary
Closes #112731
This test failed also locally (if you run it alone). The problem is that the syntax of timelion is quite sensitive, especially when it is tested on a functional test like this (the whole expression is added at once and we wait for the fields popover to be displayed)
I added a sleep to give some time to the suggestions to load and also have fixed the timelion expression syntax. I saw that
timefield=@timestamp ,split=
was flaky. Sometimes, the suggestions list were retrieved wrongly (instead of retrieving the suggestions it retrieved the word split).Flaky runner (50 times): https://kibana-ci.elastic.co/job/kibana+flaky-test-suite-runner/1912/
Flaky runner (50 times): https://kibana-ci.elastic.co/job/kibana+flaky-test-suite-runner/1915/