Skip to content

Conversation

@GalLalouche
Copy link
Contributor

Manual cherry-pick of #122871.

Fixes elastic#122661.
The issue was caused by RandomIndexWriter (randomly) reshuffling the document writing order. Since this test also ensures that the documents are read in the input order, I've opted to use a regular IndexWriter instead. I've also renamed the class to AbstractShapeGeometryFieldMapperTests since it was originally renamed due to a misunderstanding of muted tests (which caused it to be muted again! Busted 😅).
@GalLalouche GalLalouche added >test Issues or PRs that are addressing/adding tests backport Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Analytics/ES|QL AKA ESQL v8.19.0 labels Mar 6, 2025
@GalLalouche GalLalouche requested review from a team as code owners March 6, 2025 16:39
@GalLalouche GalLalouche changed the base branch from main to 8.x March 6, 2025 16:40
@GalLalouche GalLalouche enabled auto-merge (squash) March 6, 2025 17:05
@elasticsearchmachine elasticsearchmachine merged commit cee80d4 into elastic:8.x Mar 6, 2025
16 checks passed
@GalLalouche GalLalouche deleted the test/8.x/geoshape branch March 6, 2025 17:51
craigtaverner pushed a commit to craigtaverner/elasticsearch that referenced this pull request May 8, 2025
…elastic#124251)

Fixes elastic#122661.
The issue was caused by RandomIndexWriter (randomly) reshuffling the document writing order. Since this test also ensures that the documents are read in the input order, I've opted to use a regular IndexWriter instead. I've also renamed the class to AbstractShapeGeometryFieldMapperTests since it was originally renamed due to a misunderstanding of muted tests (which caused it to be muted again! Busted 😅).
elasticsearchmachine pushed a commit that referenced this pull request May 8, 2025
…) (#127908)

Fixes #122661.
The issue was caused by RandomIndexWriter (randomly) reshuffling the document writing order. Since this test also ensures that the documents are read in the input order, I've opted to use a regular IndexWriter instead. I've also renamed the class to AbstractShapeGeometryFieldMapperTests since it was originally renamed due to a misunderstanding of muted tests (which caused it to be muted again! Busted 😅).

Co-authored-by: Gal Lalouche <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests v8.19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants