Bugfix: take test case modification into effect in load_images.sh 59/32859/1
authorJingLu5 <lvjing5@huawei.com>
Sat, 1 Apr 2017 08:03:24 +0000 (08:03 +0000)
committerJing Lu <lvjing5@huawei.com>
Sat, 1 Apr 2017 08:53:34 +0000 (08:53 +0000)
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>
tests/ci/load_images.sh

index ec3ec46..436d18d 100755 (executable)
@@ -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