Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Adding Async Lifetime method to fix flaky unit tests (#333)
<!-- Please use this template for your pull request. --> <!-- Please use the sections that you need and delete other sections --> ## This PR <!-- add the description of the PR here --> - Changes the way we currently reset the Api between unit tests. This approach should be safer since it calls the official `Shutdown`, and when we call the API again, all the resources are reset. ### Notes <!-- any additional notes for this PR --> Check for more details: https://xunit.net/docs/shared-context#:~:text=For%20context%20cleanup%2C%20add%20the%20IDisposable%20interface%20to,call%20IAsyncDisposable%20%28it%20is%20planned%20for%20xUnit%20v3%29. --------- Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
- Loading branch information