summaryrefslogtreecommitdiffstats
path: root/scripts/dmaap-buscontroller/start-mock.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dmaap-buscontroller/start-mock.sh')
-rwxr-xr-xscripts/dmaap-buscontroller/start-mock.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/dmaap-buscontroller/start-mock.sh b/scripts/dmaap-buscontroller/start-mock.sh
index d50125a4..cd986061 100755
--- a/scripts/dmaap-buscontroller/start-mock.sh
+++ b/scripts/dmaap-buscontroller/start-mock.sh
@@ -31,6 +31,9 @@ function start_mock() {
docker run --name ${app}-mock -d jamesdbloom/mockserver /opt/mockserver/run_mockserver.sh -logLevel INFO -serverPort ${port} -proxyPort 1090
IP=`get-instance-ip.sh ${app}-mock`
+ source ${SCRIPTS}/common_functions.sh
+ bypass_ip_adress ${IP}
+
# Wait for initialization
for i in {1..10}; do
curl -sS ${IP}:${port} && break