Skip to content

Un-flake some flaky tests recently introduced by #122250 #125504

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

Closed
wants to merge 1 commit into from

Conversation

craigtaverner
Copy link
Contributor

The PR at #122250 seems to have created a flaky test failure in EsqlNodeSubclassTests. Local runs with -Dtests.iters=100 lead to about two dozen failures in over 70k tests run. This is not a high failure rate, but still requires addressing.

The single line added to the Analyzer by that PR causes an UnsupportedOperationException on attempting to mutate an immutable collection when running EsqlNodeSubclassTests. It turns out that this code path comes from Rename.output() which is only called in test scenarios. So a quick fix is to copy the child output into a mutable collection.

@craigtaverner craigtaverner added >non-issue Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) :Analytics/ES|QL AKA ESQL labels Mar 24, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@craigtaverner
Copy link
Contributor Author

Superceded by #125503

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/ES|QL AKA ESQL >non-issue Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants