Commit ee2834f
committed
[Maps] Fix flaky test in maps geo file – remove exact assertion on approximate document count (elastic#241426)
Resolves elastic#234490
The link to Flaky Test Runner:
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9709
### Summary
This PR fixes a flaky test in the maps geo file upload suite.
The test was asserting an exact document count (Found ~281 documents),
but due to MVT tile rendering, the number of documents may vary slightly
depending on the zoom level.
### Details
In some runs, the count fluctuated between ~280 and ~281, causing the
test to fail intermittently.
### Reasoning
The failing test screenshot showed a slightly different zoom level
compared to the local FTR environment.
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 7943c3e)1 parent af4eab3 commit ee2834f
File tree
1 file changed
+1
-0
lines changed- x-pack/platform/test/functional/apps/maps/group4/file_upload
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
0 commit comments