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

[improve][test] Clear fields in AuthZTest classes at cleanup #22661

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 a memory leak in test runtime.
The way to workaround this is to clear fields at cleanup.

Modifications

Clear fields for AuthZTest classes

Documentation

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

@lhotari lhotari added this to the 3.3.0 milestone May 6, 2024
@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
@Technoboy- Technoboy- merged commit 8167554 into apache:master May 7, 2024
49 of 51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/test doc-not-needed Your PR changes do not impact docs ready-to-test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants