Skip to content

Conversation

@GarrettBeatty
Copy link
Contributor

Issue #, if available:

Description of changes:

We had some tests where the user pools were not being cleaned up because of failures in the constructor in the tests. When something in the constructor fails it doesnt call dispose. This change makes it so that if anything fails in the consructor we call dispose to cleanup the resources.

I tested in my own account by running without the changes and verified nothing was cleanup when something fails in the constructor. i then ran the tests with my changes and everything was cleaned up

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@GarrettBeatty GarrettBeatty added the Release Not Needed Add this label if a PR does not need to be released. label Oct 2, 2025
@GarrettBeatty GarrettBeatty marked this pull request as ready for review October 2, 2025 19:23
@GarrettBeatty GarrettBeatty merged commit 50bbcb4 into dev Oct 2, 2025
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Release Not Needed Add this label if a PR does not need to be released.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants