-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Maps] Fix flaky test in maps shape file #244484
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
|
Pinging @elastic/kibana-presentation (Team:Presentation) |
Contributor
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#9932[✅] x-pack/platform/test/functional/apps/maps/group4/config.ts: 170/170 tests passed. |
Contributor
💚 Build Succeeded
Metrics [docs]
cc @olapawlus |
mbondyra
approved these changes
Nov 28, 2025
Contributor
|
Starting backport for target branches: 9.2 |
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Nov 28, 2025
Resolves elastic#209228 The link to Flaky Test Runner: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9932 The test was asserting an exact document count (Found 174 documents.), but the tooltip sometimes reported a partial count (e.g. Found 138 documents.), causing the test to fail intermittently. Reasoning Maps fetches documents only for the visible map area, so on smaller or zoomed-in views, fewer documents might appear. To stabilize the test, I explicitly set the zoom level at the beginning of the test to ensure consistent MVT data loading. (cherry picked from commit 06d1d51)
Contributor
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
kibanamachine
added a commit
that referenced
this pull request
Nov 28, 2025
# Backport This will backport the following commits from `main` to `9.2`: - [[Maps] Fix flaky test in maps shape file (#244484)](#244484) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Ola Pawlus","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-11-28T09:22:47Z","message":"[Maps] Fix flaky test in maps shape file (#244484)\n\nResolves #209228\n\nThe link to Flaky Test Runner:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9932\n\nThe test was asserting an exact document count (Found 174 documents.),\nbut the tooltip sometimes reported a partial count (e.g. Found 138\ndocuments.), causing the test to fail intermittently.\n\nReasoning\nMaps fetches documents only for the visible map area, so on smaller or\nzoomed-in views, fewer documents might appear.\nTo stabilize the test, I explicitly set the zoom level at the beginning\nof the test to ensure consistent MVT data loading.","sha":"06d1d515ac7ad5b2183f67e8f8ff1444f168e71d","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["blocker","Team:Presentation","failed-test","skipped-test","release_note:skip","impact:critical","backport:version","v9.3.0","v9.2.2"],"title":"[Maps] Fix flaky test in maps shape file","number":244484,"url":"https://github.com/elastic/kibana/pull/244484","mergeCommit":{"message":"[Maps] Fix flaky test in maps shape file (#244484)\n\nResolves #209228\n\nThe link to Flaky Test Runner:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9932\n\nThe test was asserting an exact document count (Found 174 documents.),\nbut the tooltip sometimes reported a partial count (e.g. Found 138\ndocuments.), causing the test to fail intermittently.\n\nReasoning\nMaps fetches documents only for the visible map area, so on smaller or\nzoomed-in views, fewer documents might appear.\nTo stabilize the test, I explicitly set the zoom level at the beginning\nof the test to ensure consistent MVT data loading.","sha":"06d1d515ac7ad5b2183f67e8f8ff1444f168e71d"}},"sourceBranch":"main","suggestedTargetBranches":["9.2"],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/244484","number":244484,"mergeCommit":{"message":"[Maps] Fix flaky test in maps shape file (#244484)\n\nResolves #209228\n\nThe link to Flaky Test Runner:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9932\n\nThe test was asserting an exact document count (Found 174 documents.),\nbut the tooltip sometimes reported a partial count (e.g. Found 138\ndocuments.), causing the test to fail intermittently.\n\nReasoning\nMaps fetches documents only for the visible map area, so on smaller or\nzoomed-in views, fewer documents might appear.\nTo stabilize the test, I explicitly set the zoom level at the beginning\nof the test to ensure consistent MVT data loading.","sha":"06d1d515ac7ad5b2183f67e8f8ff1444f168e71d"}},{"branch":"9.2","label":"v9.2.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Ola Pawlus <[email protected]>
tkajtoch
pushed a commit
to tkajtoch/kibana
that referenced
this pull request
Dec 1, 2025
Resolves elastic#209228 The link to Flaky Test Runner: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9932 The test was asserting an exact document count (Found 174 documents.), but the tooltip sometimes reported a partial count (e.g. Found 138 documents.), causing the test to fail intermittently. Reasoning Maps fetches documents only for the visible map area, so on smaller or zoomed-in views, fewer documents might appear. To stabilize the test, I explicitly set the zoom level at the beginning of the test to ensure consistent MVT data loading.
NicholasPeretti
pushed a commit
to NicholasPeretti/kibana
that referenced
this pull request
Dec 2, 2025
Resolves elastic#209228 The link to Flaky Test Runner: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9932 The test was asserting an exact document count (Found 174 documents.), but the tooltip sometimes reported a partial count (e.g. Found 138 documents.), causing the test to fail intermittently. Reasoning Maps fetches documents only for the visible map area, so on smaller or zoomed-in views, fewer documents might appear. To stabilize the test, I explicitly set the zoom level at the beginning of the test to ensure consistent MVT data loading.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport:version
Backport to applied version labels
blocker
failed-test
A test failure on a tracked branch, potentially flaky-test
impact:critical
This issue should be addressed immediately due to a critical level of impact on the product.
release_note:skip
Skip the PR/issue when compiling release notes
skipped-test
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas t//
v9.2.3
v9.3.0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #209228
The link to Flaky Test Runner: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9932
The test was asserting an exact document count (Found 174 documents.), but the tooltip sometimes reported a partial count (e.g. Found 138 documents.), causing the test to fail intermittently.
Reasoning
Maps fetches documents only for the visible map area, so on smaller or zoomed-in views, fewer documents might appear.
To stabilize the test, I explicitly set the zoom level at the beginning of the test to ensure consistent MVT data loading.