-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
The Issue is:
-When running the application (spring data mcr.microsoft.com/mssql/server:2019-CU8-ubuntu-16.04) with a docker container everything worked as expected.
-When running the application with testcontainers the tables stayed locked (using the same image all the time).
-When removing the crudRepository from Spring Data in the test and using the raw entity manager the tables locked (the test could pass because of the persistence context of hibernate).
-When using raw JDBC the test worked fine.
I'm using Junit 5, testcontainerVersion 1.14.3 and Hiberante core 5.4.21.Final (spring boot version2.3.4.RELEASE).
I don't really know if this is an Hiberante or a testcontainers issue, because Hibernate did work normally with docker, but started locking tables with when testcontainers got involved.
