Skip to content

Remove unnecessary request from log tests #126556

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 2 commits into from
Apr 11, 2025

Conversation

benchaplin
Copy link
Contributor

Attempt to fix #126358 & #126357.

This final request is unnecessary - by the nature of the above while loop, the async search will complete before the assertion. My theory is that this final request causes shard locks to remain held in a busy cluster after the assertion has succeeded, explaining the intermittent failures.

Also, this line is one of the only meaningful differences between these tests and others in the class, which have not been failing :).

@benchaplin benchaplin added >test Issues or PRs that are addressing/adding tests auto-backport Automatically create backport pull requests when merged Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch :Search Foundations/Search Catch all for Search Foundations v8.18.1 v8.19.0 v9.0.1 v9.1.0 labels Apr 9, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-foundations (Team:Search Foundations)

@javanna
Copy link
Member

javanna commented Apr 11, 2025

Were you able to repro the failures locally? I tried but I could not.

@benchaplin benchaplin merged commit c11b8f1 into elastic:main Apr 11, 2025
17 checks passed
@benchaplin
Copy link
Contributor Author

No, I couldn't either.

@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.18 Commit could not be cherrypicked due to conflicts
8.x Commit could not be cherrypicked due to conflicts
9.0 Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 126556

benchaplin added a commit to benchaplin/elasticsearch that referenced this pull request Apr 11, 2025
(cherry picked from commit c11b8f1)

# Conflicts:
#	muted-tests.yml
benchaplin added a commit to benchaplin/elasticsearch that referenced this pull request Apr 11, 2025
(cherry picked from commit c11b8f1)

# Conflicts:
#	muted-tests.yml
@benchaplin
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.x
9.0
8.18

Questions ?

Please refer to the Backport tool documentation

benchaplin added a commit to benchaplin/elasticsearch that referenced this pull request Apr 11, 2025
(cherry picked from commit c11b8f1)

# Conflicts:
#	muted-tests.yml
elasticsearchmachine pushed a commit that referenced this pull request Apr 11, 2025
(cherry picked from commit c11b8f1)

# Conflicts:
#	muted-tests.yml
elasticsearchmachine pushed a commit that referenced this pull request Apr 11, 2025
(cherry picked from commit c11b8f1)

# Conflicts:
#	muted-tests.yml
elasticsearchmachine pushed a commit that referenced this pull request Apr 11, 2025
* Remove unnecessary request from log tests (#126556)

(cherry picked from commit c11b8f1)

# Conflicts:
#	muted-tests.yml

* Fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged backport pending :Search Foundations/Search Catch all for Search Foundations Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch >test Issues or PRs that are addressing/adding tests v8.18.1 v8.19.0 v9.0.1 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] AsyncSearchErrorTraceIT testDataNodeDoesNotLogStackTraceWhenErrorTraceTrue failing
3 participants