BugFix: add scp constraint 99/18999/1
authorJingLu5 <lvjing5@huawei.com>
Fri, 19 Aug 2016 00:17:18 +0000 (08:17 +0800)
committerJingLu5 <lvjing5@huawei.com>
Fri, 19 Aug 2016 00:17:18 +0000 (08:17 +0800)
Change-Id: Ide4203cba5b8d62dcb4006c227c850f7ef186ec5
Signed-off-by: JingLu5 <lvjing5@huawei.com>
tests/ci/prepare_env.sh

index cb83d9c..2c71c7c 100755 (executable)
@@ -57,7 +57,9 @@ export EXTERNAL_NETWORK INSTALLER_TYPE DEPLOY_TYPE NODE_NAME
 $YARDSTICK_REPO_DIR/tests/ci/prepare_storperf_admin-rc.sh
 
 # copy a admin-rc file for StorPerf integration to the deployment location
-expect $YARDSTICK_REPO_DIR/tests/ci/scp_storperf_admin-rc.sh
+if [ "$NODE_NAME" == "huawei-pod1" ]; then
+    expect $YARDSTICK_REPO_DIR/tests/ci/scp_storperf_admin-rc.sh
+fi
 
 # Fetching id_rsa file from jump_server..."
 verify_connectivity() {