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

[fix][test] Clear MockedPulsarServiceBaseTest fields to prevent test runtime memory leak #22659

Merged
merged 1 commit into from
May 6, 2024

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented May 6, 2024

Motivation

Follow up on #22583. TestNG keeps strong references to test class instances for the duration of the test run. (testng-team/testng#1461)
This causes OOM issues.

Modifications

Clear remaining fields in MockedPulsarServiceBaseTest to prevent test runtime memory leak.

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@lhotari lhotari added this to the 3.3.0 milestone May 6, 2024
@lhotari lhotari requested a review from heesung-sn May 6, 2024 17:19
@lhotari lhotari self-assigned this May 6, 2024
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label May 6, 2024
@lhotari lhotari requested a review from Technoboy- May 6, 2024 17:33
@lhotari lhotari merged commit 025354e into apache:master May 6, 2024
52 of 53 checks passed
Technoboy- pushed a commit that referenced this pull request May 8, 2024
lhotari added a commit that referenced this pull request May 14, 2024
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request May 15, 2024
…runtime memory leak (apache#22659)

(cherry picked from commit 025354e)
(cherry picked from commit 13f0aae)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request May 16, 2024
…runtime memory leak (apache#22659)

(cherry picked from commit 025354e)
(cherry picked from commit 13f0aae)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants