aboutsummaryrefslogtreecommitdiffstats
path: root/test/ete/scripts/run-healthcheck.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-11-09 12:08:24 -0800
committerGary Wu <gary.i.wu@huawei.com>2017-11-09 12:19:21 -0800
commit778b41b9d03f3207a0b17ed98a0d86b16a1e5ba0 (patch)
tree0a1e95a7dbf7ec0aed96f3cbc7481d08980457ac /test/ete/scripts/run-healthcheck.sh
parent515751060997a09519b2d41e856d6ff488429aab (diff)
Modify deploy to wait until Robot initializes
Issue-ID: INT-278 Change-Id: I8292525db6d2ac74080d46924eb5382ba4b7f427 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'test/ete/scripts/run-healthcheck.sh')
-rwxr-xr-xtest/ete/scripts/run-healthcheck.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/ete/scripts/run-healthcheck.sh b/test/ete/scripts/run-healthcheck.sh
index b69a2a9a2..35e25f334 100755
--- a/test/ete/scripts/run-healthcheck.sh
+++ b/test/ete/scripts/run-healthcheck.sh
@@ -21,11 +21,6 @@ ssh-keygen -R ${ROBOT_IP}
ssh -o StrictHostKeychecking=no -i ${SSH_KEY} root@${ROBOT_IP} "OS_PASSWORD_INPUT=$OS_PASSWORD_INPUT bash -s" < ./remote/run-robot.sh
-if [ ! $? -eq 0 ]
-then
- exit 1
-fi
-
LOG_DIR=$(ssh -o StrictHostKeychecking=no -i ${SSH_KEY} root@${ROBOT_IP} "ls -1t /opt/eteshare/logs | head -1")
echo "Browse Robot results at http://${ROBOT_IP}:88/logs/${LOG_DIR}/"
rsync -e "ssh -i ${SSH_KEY}" -avPz root@${ROBOT_IP}:/opt/eteshare/logs/${LOG_DIR}/ $WORKSPACE/archives/