Closed semangard closed 2 years ago
Thanks for this issue. I'll investigate into it in the next days. I know already what's going on, but I need some time to fix it.
Most likely, I can remove my custom code to import realms on startup again when KC18 is available, as it should bring back the auto-import ability: https://github.com/keycloak/keycloak/issues/10216
I've found a Testcontainers internal api, which might help and do the trick.
Would you mind to test a fix on the development branch with tag development-SNAPSHOT
with the help of JitPack: https://jitpack.io/#dasniko/testcontainers-keycloak/development-SNAPSHOT
Your feedback is appreciated!
Thanks.
I've just tested it few times with your SNAPSHOT version and yes it seems to be fixed. Thanks and regards.
merged into main
Hello,
It seems since version 2.x test container cannot be reused between tests. The next test cannot reuse the test container which was not stopped (stop() method not called).
We have an exception indicating the test realm cannot be imported (because already/previously imported)
Could you please check that ?
Regards