summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2016-08-19 08:17:18 +0800
committerJingLu5 <lvjing5@huawei.com>2016-08-19 08:17:18 +0800
commitc427a3f99c24748fcdea87dc3277a99a9062d86d (patch)
tree3fb76f6780d209621b1c561f6b1da3aa401a1ca3 /tests
parenta10e2a06019623290381e2aa5a0cf99003ac66b2 (diff)
BugFix: add scp constraint
Change-Id: Ide4203cba5b8d62dcb4006c227c850f7ef186ec5 Signed-off-by: JingLu5 <lvjing5@huawei.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ci/prepare_env.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ci/prepare_env.sh b/tests/ci/prepare_env.sh
index cb83d9cb3..2c71c7c69 100755
--- a/tests/ci/prepare_env.sh
+++ b/tests/ci/prepare_env.sh
@@ -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() {