aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/scripts/optf-has/has/has_script.sh
diff options
context:
space:
mode:
authorLeonardo Bellini <leonardo.bellini@att.com>2018-03-27 05:42:06 -0500
committerLeonardo Bellini <leonardo.bellini@att.com>2018-03-27 05:46:02 -0500
commit853238d1b2e02ba573b5185ebb2c83c48e3b3333 (patch)
tree3c86fbb1db87c8999a13b07cfee753e2a47c2bc6 /test/csit/scripts/optf-has/has/has_script.sh
parent28db3d66f98afb2376e6d51d78b379811b9187ec (diff)
complete test cases for M4
Issue-ID: OPTFRA-204 Change-Id: I0010ecae5f64fbe0b3c0be5cb9ebc52d9a426254 Signed-off-by: Leonardo Bellini <leonardo.bellini@att.com>
Diffstat (limited to 'test/csit/scripts/optf-has/has/has_script.sh')
-rwxr-xr-xtest/csit/scripts/optf-has/has/has_script.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/csit/scripts/optf-has/has/has_script.sh b/test/csit/scripts/optf-has/has/has_script.sh
index a5bf9f999..7d207f0b0 100755
--- a/test/csit/scripts/optf-has/has/has_script.sh
+++ b/test/csit/scripts/optf-has/has/has_script.sh
@@ -50,12 +50,12 @@ echo "MUSIC_IP=${MUSIC_IP}"
# change MUSIC reference to the local instance
sed -i -e "s%localhost:8080/MUSIC%${MUSIC_IP}:8080/MUSIC%g" /tmp/conductor/properties/conductor.conf
-AAISIM_IP=`docker inspect --format '{{ .NetworkSettings.Networks.bridge.IPAddress}}' aaisim`
-echo "AAISIM_IP=${AAISIM_IP}"
-
#onboard conductor into music
curl -vvvvv --noproxy "*" --request POST http://${MUSIC_IP}:8080/MUSIC/rest/v2/admin/onboardAppWithMusic -H "Content-Type: application/json" --data @${WORKSPACE}/test/csit/tests/optf-has/has/data/onboard.json
+AAISIM_IP=`docker inspect --format '{{ .NetworkSettings.Networks.bridge.IPAddress}}' aaisim`
+echo "AAISIM_IP=${AAISIM_IP}"
+
# change MUSIC reference to the local instance
sed -i -e "s%localhost:8081/%${AAISIM_IP}:8081/%g" /tmp/conductor/properties/conductor.conf
@@ -80,6 +80,6 @@ docker inspect cond-api
docker inspect cond-solv
docker inspect cond-resv
-docker exec -it music-db /usr/bin/nodetool status
-docker exec -it music-db /usr/bin/cqlsh -unelson24 -pwinman123 -e 'SELECT * FROM system_schema.keyspaces'
-docker exec -it music-db /usr/bin/cqlsh -unelson24 -pwinman123 -e 'SELECT * FROM admin.keyspace_master'
+docker exec music-db /usr/bin/nodetool status
+docker exec music-db /usr/bin/cqlsh -unelson24 -pwinman123 -e 'SELECT * FROM system_schema.keyspaces'
+docker exec music-db /usr/bin/cqlsh -unelson24 -pwinman123 -e 'SELECT * FROM admin.keyspace_master'