-
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
[Lens] Fixes metrics test flakiness by using the Lens waitForVisualization function #122532
[Lens] Fixes metrics test flakiness by using the Lens waitForVisualization function #122532
Conversation
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.
Could you change line 47 and 54 in this file as well? It has the potential for the same issue
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (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 LGTM
💔 All backports failed
How to fixRe-run the backport manually:
Questions ?Please refer to the Backport tool documentation |
Dynamic coloring for metrics is only available for 8.1+ . So probably this should not be backported? |
I always forget that :D |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Fixes #122489
From the CI screenshot we can see that the color has been updated correctly. This must be a race-condition. By waiting for the actual visualization to load first and then get the metricStyle, must fix this flakiness.
CI run 50 times https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/73#cd10b996-e954-4b94-b8fc-c04b2739f205
Ci run 50 times https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/75#b0d5a525-b06a-41c8-bbc7-66dad484f24f
Checklist