Skip to content
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

Close exchanges in HttpClientTests #115059

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

joegallo
Copy link
Contributor

Closes #112618

@joegallo joegallo added >test Issues or PRs that are addressing/adding tests :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP Team:Data Management Meta label for data/management team auto-backport Automatically create backport pull requests when merged v8.16.0 v9.0.0 v8.17.0 labels Oct 18, 2024
@joegallo joegallo requested a review from masseyke October 18, 2024 00:54
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@joegallo
Copy link
Contributor Author

If I were a betting man, I'd imagine that maybe on 23 there's some kind buffering of the response body that only gets flushed once the exchange is closed. It seems to work both ways pre-23, but on 23 we have to add the close in places where we're not already doing some kind of close on the response OutputStream. (Or something like that, 🤷.)

@joegallo joegallo removed the v8.16.0 label Oct 18, 2024
@joegallo
Copy link
Contributor Author

This test has been muted on main and 8.x (but it isn't muted on 8.16 AFAICT) so I updated the version labels here to match that.

@joegallo joegallo merged commit becd08d into elastic:main Oct 18, 2024
16 checks passed
@joegallo joegallo deleted the http-client-tests-close-exchanges branch October 18, 2024 13:26
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

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

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

joegallo added a commit to joegallo/elasticsearch that referenced this pull request Oct 18, 2024
joegallo added a commit to joegallo/elasticsearch that referenced this pull request Oct 23, 2024
joegallo added a commit to joegallo/elasticsearch that referenced this pull request Oct 23, 2024
georgewallace pushed a commit to georgewallace/elasticsearch that referenced this pull request Oct 25, 2024
jfreden pushed a commit to jfreden/elasticsearch that referenced this pull request Nov 4, 2024
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 :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP Team:Data Management Meta label for data/management team >test Issues or PRs that are addressing/adding tests v8.17.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] HttpClientTests class failing
3 participants