summaryrefslogtreecommitdiffstats
path: root/tests/ci/load_images.sh
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2017-04-01 08:03:24 +0000
committerJingLu5 <lvjing5@huawei.com>2017-04-01 08:03:24 +0000
commit3ab4604618224ea618083e1b5cd6fd8a1d81562a (patch)
tree9a38c9245bc24517b7d7fe563c693bf17ad91089 /tests/ci/load_images.sh
parent66aa1cc17bcc3643c2852df7df4a355897ba0b57 (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/ci/load_images.sh')
-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