summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKaspars Skels <kaspars.skels@att.com>2019-09-09 12:32:26 -0500
committerKaspars Skels <kaspars.skels@att.com>2019-09-09 12:32:26 -0500
commit7a21b3459a26e12fd7fbef81ea2ec8f71605dd71 (patch)
treedd3e071a8d395481231b82b82a40891a7f3be6fd /tools
parent393e530b6b8f2b14d40022f65f15a1925a0e9377 (diff)
Fixes for tests/deploy scripts
Change-Id: Idb80f8b401592c8e5a2e1682051164719ae70405 Signed-off-by: Kaspars Skels <kaspars.skels@att.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/deploy.sh1
-rwxr-xr-xtools/test.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/deploy.sh b/tools/deploy.sh
index f1c96a1..152a707 100755
--- a/tools/deploy.sh
+++ b/tools/deploy.sh
@@ -53,6 +53,7 @@ genesis_cleanup() {
ipmitool -I lanplus -H $node -U $IPMI_USER -P $IPMI_PASS chassis power off
done
+ sleep 11 # wait for genesis node to power-off
ipmitool -I lanplus -H $GEN_IPMI -U $IPMI_USER -P $IPMI_PASS chassis power on
while ! ssh $GEN_SSH hostname; do :; done
diff --git a/tools/test.sh b/tools/test.sh
index 213d46a..e9d9158 100755
--- a/tools/test.sh
+++ b/tools/test.sh
@@ -40,7 +40,7 @@ help() {
run_tests() {
- rm -rf ${FUNCTEST_CACHE}/results && mkdir ${FUNCTEST_CACHE}/results
+ sudo rm -rf ${FUNCTEST_CACHE}/results && mkdir ${FUNCTEST_CACHE}/results
sudo docker run --env-file env \
-v $(pwd)/openstack.creds:/home/opnfv/functest/conf/env_file \