Update vid tests to take into account the new selenium lib
[integration/csit.git] / scripts / dmaap-buscontroller / dmaapbc-launch.sh
index 317c17f..0a653fa 100755 (executable)
@@ -8,7 +8,7 @@ function dmaapbc_launch() {
        CONTAINER_NAME=dmaapbc
        IP=""
 
-       cd ${WORKSPACE}/test/csit/scripts/dmaap-buscontroller
+       cd ${WORKSPACE}/scripts/dmaap-buscontroller
 
        TMP_CFG=/tmp/docker-databus-controller.conf
        . ./onapCSIT.env > $TMP_CFG
@@ -24,6 +24,9 @@ function dmaapbc_launch() {
        docker run -d $ADDHOSTS --name $CONTAINER_NAME -v $TMP_CFG:/opt/app/config/conf $TAG
        IP=`get-instance-ip.sh ${CONTAINER_NAME}`
 
+    source ${SCRIPTS}/common_functions.sh
+    bypass_ip_adress ${IP}
+
        # Wait for initialization
        for i in {1..10}; do
        curl -sS ${IP}:8080 && break