From c14c8535beabe3599d541cb2c17f731e42d029f8 Mon Sep 17 00:00:00 2001 From: JingLu5 Date: Tue, 16 Aug 2016 20:13:17 +0800 Subject: BugFix: fix storperf deployment location error Change-Id: Ib8329f6feeadacb312171782730ef2807eda5455 Signed-off-by: JingLu5 --- tests/ci/yardstick-verify | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'tests/ci') diff --git a/tests/ci/yardstick-verify b/tests/ci/yardstick-verify index bdb91003d..7345e0e5b 100755 --- a/tests/ci/yardstick-verify +++ b/tests/ci/yardstick-verify @@ -133,8 +133,21 @@ install_storperf() exit 1 fi + fi +} + +remove_storperf() +{ + # remove Storper from huawei-pod1 + if [ "$NODE_NAME" == "huawei-pod1" ]; then echo - echo "========== Installed storperf container ==========" + echo "========== Removing storperf ==========" + + if ! yardstick -d plugin remove plugin/CI/storperf.yaml; then + echo "Remove storperf plugin FAILED"; + exit 1 + fi + fi } @@ -422,6 +435,7 @@ main() install_storperf run_test + remove_storperf } main -- cgit 1.2.3-korg