-
Notifications
You must be signed in to change notification settings - Fork 23.9k
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
PostgresIntegrationTests fails sometimes (maybe on a stale volume?) #1522
Comments
+1 - only got when making the container however. |
It fails for me when I have an old volume from a previous test run with an older version of postgres. Impossible to say if your problem is the same, but if it is you can just delete the volume (e.g. by |
Don't know if this is the same issue as what you encountered, but I think it's good to share: I noticed some peculiarity about this failure. That is, on Ubuntu 22.04/24.04:
The cause I identified: PostgreSQL test cases use So my workaround is to ensure |
Thanks for the detail. It’s not the same problem though, and Spring Boot explicitly requires the newer version of docker, so it’s kind of expected, I think (and also therefore not a problem with the Pet Clinic project). If the error you got wasn’t clear about what was wrong I would take it up with the Spring Boot project directly if I were you. |
spring-petclinic PostgresIntegrationTests.testFindAll » IllegalState
remove PostgresIntegrationTests.java, no issue
The text was updated successfully, but these errors were encountered: