You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DisposeAsync method isn't thread safe and as a user of the library you also don't have any option to write a thread safe wrapper around it.
To Reproduce
see the sample
Expected behavior
The SemaphoreSlim that is used by TestcontainersContainer should be disposed thread safe. Or at least the cosument of an TestcontainersContainer should have bean any sign that the object is disposed.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Version 2.1.0
dotnet 6.0.401
Additional context
Here is a sample implementation to reproduce the bug. It's happen around 1/3 tries:
Describe the bug
The
DisposeAsync
method isn't thread safe and as a user of the library you also don't have any option to write a thread safe wrapper around it.To Reproduce
see the sample
Expected behavior
The
SemaphoreSlim
that is used byTestcontainersContainer
should be disposed thread safe. Or at least the cosument of anTestcontainersContainer
should have bean any sign that the object is disposed.Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Here is a sample implementation to reproduce the bug. It's happen around 1/3 tries:
The text was updated successfully, but these errors were encountered: