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

Fixes flakiness in timelion viz functional test #112805

Merged
merged 2 commits into from
Sep 22, 2021

Conversation

stratoula
Copy link
Contributor

@stratoula stratoula commented Sep 22, 2021

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/

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

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

@stratoula stratoula added release_note:skip Skip the PR/issue when compiling release notes v7.16.0 v8.0.0 failed-test A test failure on a tracked branch, potentially flaky-test Feature:Timelion Timelion app and visualization Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Sep 22, 2021
@stratoula stratoula marked this pull request as ready for review September 22, 2021 13:16
@stratoula stratoula requested a review from a team as a code owner September 22, 2021 13:16
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors (Team:VisEditors)

Copy link
Contributor

@dej611 dej611 left a 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. 🤔

@stratoula stratoula added the auto-backport Deprecated - use backport:version if exact versions are needed label Sep 22, 2021
@stratoula stratoula merged commit 6bf766a into elastic:master Sep 22, 2021
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 22, 2021
* Fixes flakiness in timelion viz functional test

* Add sleep
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Sep 22, 2021
* Fixes flakiness in timelion viz functional test

* Add sleep

Co-authored-by: Stratoula Kalafateli <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed failed-test A test failure on a tracked branch, potentially flaky-test Feature:Timelion Timelion app and visualization release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.16.0 v8.0.0
Projects
None yet
4 participants