Skip to content

Conversation

@gharris1727
Copy link
Contributor

These tests leak network sockets unnecessarily, and should instead properly close the resources they instantiate.

I found these via some tests which are not merge-able, as they rely on reflection and JDK-version-specific mechanisms to operate.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

Signed-off-by: Greg Harris <greg.harris@aiven.io>
@gharris1727 gharris1727 marked this pull request as draft November 13, 2023 19:29
Signed-off-by: Greg Harris <greg.harris@aiven.io>
@gharris1727 gharris1727 marked this pull request as ready for review November 13, 2023 19:37
@gharris1727 gharris1727 added producer consumer tests Test fixes (including flaky tests) labels Nov 14, 2023
Copy link
Member

@mimaison mimaison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gharris1727
Copy link
Contributor Author

Test failures appear unrelated, and the clients tests pass locally.

@gharris1727 gharris1727 merged commit b02a18a into apache:trunk Dec 5, 2023
gaurav-narula pushed a commit to gaurav-narula/kafka that referenced this pull request Jan 24, 2024
Signed-off-by: Greg Harris <greg.harris@aiven.io>
Reviewers: Mickael Maison <mickael.maison@gmail.com>
yyu1993 pushed a commit to yyu1993/kafka that referenced this pull request Feb 15, 2024
Signed-off-by: Greg Harris <greg.harris@aiven.io>
Reviewers: Mickael Maison <mickael.maison@gmail.com>
AnatolyPopov pushed a commit to aiven/kafka that referenced this pull request Feb 16, 2024
Signed-off-by: Greg Harris <greg.harris@aiven.io>
Reviewers: Mickael Maison <mickael.maison@gmail.com>
clolov pushed a commit to clolov/kafka that referenced this pull request Apr 5, 2024
Signed-off-by: Greg Harris <greg.harris@aiven.io>
Reviewers: Mickael Maison <mickael.maison@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

consumer producer tests Test fixes (including flaky tests)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants