Browse Source

back removed import DockerClientFactory

pull/7906/head
Seraphym-Tuhai 4 years ago
parent
commit
4087618702
  1. 3
      msa/black-box-tests/src/test/java/org/thingsboard/server/msa/TestProperties.java

3
msa/black-box-tests/src/test/java/org/thingsboard/server/msa/TestProperties.java

@ -16,6 +16,7 @@
package org.thingsboard.server.msa;
import lombok.extern.slf4j.Slf4j;
import org.testcontainers.DockerClientFactory;
@Slf4j
public class TestProperties {
@ -35,7 +36,7 @@ public class TestProperties {
public static String getBaseUiUrl() {
if (instance.isActive()) {
//return "https://host.docker.internal" // this alternative requires docker-selenium.yml extra_hosts: - "host.docker.internal:host-gateway"
//return "https://host.docker.internal"; // this alternative requires docker-selenium.yml extra_hosts: - "host.docker.internal:host-gateway"
//return "https://" + DockerClientFactory.instance().dockerHostIpAddress(); //this alternative will get Docker IP from testcontainers
return "https://haproxy"; //communicate inside current docker-compose network to the load balancer container
}

Loading…
Cancel
Save