-
Notifications
You must be signed in to change notification settings - Fork 116
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
Testcontainers not closing correctly after tests #666
Labels
Projects
Comments
I pulled the latest and ran the test and the containers are cleaning themselves afterwards:
I was getting this error with the default sbt settings:
Solved it with:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running the tests from
sbt
with:some of the containers don't close after running the tests finish. Resulting in:
Perhaps there's a problem with how
zio.sql.TestContainer
andzio.sql.JdbcRunnableSpec
are interacting with ZIO Test.Also it seems like closing
sbt
also closes these containers after couple of seconds.The text was updated successfully, but these errors were encountered: