You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Port mapping problems when using wormhole pattern #37
I've encountered a couple of problems when running in a Docker-in-Docker environment when the using the 'wormhole' pattern. In this context, our test is executed inside a container, and all containers are created as siblings (alongside it).
The biggest problem is that the port mapping seems to be incorrect - get_exposed_port returns the original port when running inside a container:
In testcontainers-java we don't have such a branch and it works well in all contexts I'm aware of. I can't really see the reason for the branch.
I'd be keen to submit a pull request, but want to check whether there's a specific reason for the current code path in case we break a usage I'm not aware of!
Activity
tuvshuud commentedon Apr 28, 2020
@rnorth Does #85 address this issue?
tillahoffmann commentedon Jun 8, 2020
@rnorth, closing this issue for now. Feel free to reopen if it continues to be a problem.