localhost cannot work on kubernetes
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
parent
1b8f3aa07a
commit
137c1e8b3a
|
@ -102,7 +102,7 @@ public class AutobahnTests
|
||||||
{
|
{
|
||||||
container.start();
|
container.start();
|
||||||
Integer mappedPort = container.getMappedPort(9001);
|
Integer mappedPort = container.getMappedPort(9001);
|
||||||
CoreAutobahnClient.main(new String[]{"localhost", mappedPort.toString()});
|
CoreAutobahnClient.main(new String[]{container.getContainerIpAddress(), mappedPort.toString()});
|
||||||
|
|
||||||
DockerClient dockerClient = container.getDockerClient();
|
DockerClient dockerClient = container.getDockerClient();
|
||||||
String containerId = container.getContainerId();
|
String containerId = container.getContainerId();
|
||||||
|
|
Loading…
Reference in New Issue