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

Application contexts are retained by MicronautKotest5Extension causing memory leak #861

Closed
Spikhalskiy opened this issue Oct 2, 2023 · 0 comments · Fixed by #868
Closed

Comments

@Spikhalskiy
Copy link
Contributor

Spikhalskiy commented Oct 2, 2023

Expected Behavior

There should not be a memory leak caused by the retention of all specs / application contexts while tests are getting executed.

Actual Behaviour

MicronautKotest5Extension#contexts retains all the MicronautKotest5Context and the corresponding Specs lacking a cleanup. This leads to a memory leak and degraded performance while the test set is being executed.

Version

micronaut-test: 4.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant