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

Use leak-tracking recycler in InboundPipelineTests #81065

Conversation

DaveCTurner
Copy link
Contributor

Today we use a leaky NON_RECYCLING_INSTANCE in
InboundPipelineTests#testPipelineHandling. It's actually fine, we
don't use it for anything important, but it looks suspicious and it
means that a little bit of harmless-looking reordering would seriously
affect the coverage of these tests. This commit gets rid of it to ensure
that we're always watching for leaks.

Noticed when reviewing #80656.

Today we use a leaky `NON_RECYCLING_INSTANCE` in
`InboundPipelineTests#testPipelineHandling`. It's actually fine, we
don't use it for anything important, but it looks suspicious and it
means that a little bit of harmless-looking reordering would seriously
affect the coverage of these tests. This commit gets rid of it to ensure
that we're always watching for leaks.

Noticed when reviewing elastic#80656.
@DaveCTurner DaveCTurner added >non-issue :Distributed/Network Http and internode communication implementations v8.1.0 labels Nov 25, 2021
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team label Nov 25, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@DaveCTurner DaveCTurner added the auto-merge Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Jan 18, 2022
@elasticsearchmachine elasticsearchmachine merged commit 63a6a3b into elastic:master Jan 18, 2022
tlrx pushed a commit to tlrx/elasticsearch that referenced this pull request Mar 3, 2022
Today we use a leaky `NON_RECYCLING_INSTANCE` in
`InboundPipelineTests#testPipelineHandling`. It's actually fine, we
don't use it for anything important, but it looks suspicious and it
means that a little bit of harmless-looking reordering would seriously
affect the coverage of these tests. This commit gets rid of it to ensure
that we're always watching for leaks.

Noticed when reviewing elastic#80656.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Distributed/Network Http and internode communication implementations >non-issue Team:Distributed Meta label for distributed team v8.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants