Skip to content

Conversation

jonkoops
Copy link
Contributor

@jonkoops jonkoops commented Oct 8, 2025

Automatically disposes of any realms that are created by createTestBed() once a test has completed. This uses explicit resource management to automatically delete the realm created by the test bed once it is no longer in scope. Since this feature is only available in Node.js 24, I have raised the version on CI, and updated the documentation.

Closes #43298

@jonkoops jonkoops requested review from a team as code owners October 8, 2025 13:33
@jonkoops jonkoops changed the title Automatically dispose of realms created bu createTestBed() Automatically dispose of realms created by createTestBed() Oct 8, 2025
Closes keycloak#43298

Signed-off-by: Jon Koops <jonkoops@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatically clean up test bed after use
1 participant