diff options
author | JingLu5 <lvjing5@huawei.com> | 2017-03-23 01:14:43 +0000 |
---|---|---|
committer | Jing Lu <lvjing5@huawei.com> | 2017-03-23 02:47:48 +0000 |
commit | 5018a0b59d6ded0e70439c3e70552063796a2b44 (patch) | |
tree | 50ea70bc211d72df29d2dbe9e6401381321e4c82 /tests/ci | |
parent | 886fdfbf0b9d3def9d66f324885aabf3586d09b1 (diff) |
Bugfix: TC002 image error in fuel-arm pod scenarios
JIRA: YARDSTICK-601
This error is cause because the TC 002 configuration file has been modified in
image section, the old sed command in load_images.sh
"sed -i 's/image: cirros-0.3.3/image: TestVM/g' tests/opnfv/test_cases/opnfv_yardstick_tc002.yaml samples/ping.yaml" didn't work properly.
Change-Id: Ie897213622d05bb267f94b466eb2529e797d484e
Signed-off-by: JingLu5 <lvjing5@huawei.com>
(cherry picked from commit 2fb078e21a3cd0dc69732f33b5a6ecc422eb577d)
Diffstat (limited to 'tests/ci')
-rwxr-xr-x | tests/ci/load_images.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ci/load_images.sh b/tests/ci/load_images.sh index ee46962b5..6aefe2d73 100755 --- a/tests/ci/load_images.sh +++ b/tests/ci/load_images.sh @@ -236,8 +236,8 @@ main() build_yardstick_image load_yardstick_image if [ "${YARD_IMG_ARCH}" == "arm64" ]; then - sed -i 's/image: cirros-0.3.3/image: TestVM/g' tests/opnfv/test_cases/opnfv_yardstick_tc002.yaml \ - samples/ping.yaml + sed -i 's/image: {{image}}/image: TestVM/g' tests/opnfv/test_cases/opnfv_yardstick_tc002.yaml + sed -i 's/image: cirros-0.3.3/image: TestVM/g' samples/ping.yaml #We have overlapping IP with the real network 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}" |