summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2017-04-01 08:03:24 +0000
committerJing Lu <lvjing5@huawei.com>2017-04-01 08:53:34 +0000
commit068cd8efd026f710bcc3e9e5e6892379046091ef (patch)
treedbae0fe9cecf0983d18b0a14347dcc16e4caee87 /tests
parent6ca8346532caa2997588e35c66cae86a1246e9ac (diff)
Bugfix: take test case modification into effect in load_images.sh
JIRA: YARDSTICK-622 Bug log: https://build.opnfv.org/ci/view/armband/job/yardstick-fuel-armband-baremetal-daily-danube/24/console This error is because the file changes done in the load_images.sh is not updated. After file modification, pip install -U . is required to tack changes into effect. Change-Id: I8be3ffc963e3d5cec861b68a33efc2fa5bdabbd2 Signed-off-by: JingLu5 <lvjing5@huawei.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ci/load_images.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ci/load_images.sh b/tests/ci/load_images.sh
index ec3ec4604..436d18d6d 100755
--- a/tests/ci/load_images.sh
+++ b/tests/ci/load_images.sh
@@ -254,6 +254,8 @@ main()
for filename in tests/opnfv/test_cases/*; do
sed -i "s/cidr: '10.0.1.0\/24'/cidr: '10.3.1.0\/24'/g" "${filename}"
done
+ # Update file changes
+ pip install -U .
else
load_cirros_image
load_ubuntu_image