Replies: 1 comment
-
I moved this issue into discussions, because a) there was no action in the last few months on it and b) I don't think this is related to this Keycloak Testcontainers implementation, but - IF it's related to testcontainers - it's related to the core testcontainers project. I somebody thinks he/she has a solution, answers are appreciated and welcome! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I can't tell if this is something specific to testcontainers-keycloak or a more generic testcontainers issue, but figured I'd start here.
Previously, I was able to call
withReuse(true)
on my KeycloakContainer (before starting it) and it would let me re-use the same container from one run to the next which was very useful to reduce the cycle time on test development.Now, when I try the same thing, everything after the first run is failing with an error like this:
I backed out to testcontainers-keycloak version 1.6.1 (where I think this was working before), but it turns out I'm seeing the same behavior there. I'm wondering if its related to some underlying Docker for Mac changes or something...
Please let me know if you have any ideas for me to try.
Full stacktrack:
PS. It works just fine if I manually delete the container after each run, but I was hoping it would let me continue to use the same container over and over (until I decide not to)
Beta Was this translation helpful? Give feedback.
All reactions