From 5018a0b59d6ded0e70439c3e70552063796a2b44 Mon Sep 17 00:00:00 2001 From: JingLu5 Date: Thu, 23 Mar 2017 01:14:43 +0000 Subject: 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 (cherry picked from commit 2fb078e21a3cd0dc69732f33b5a6ecc422eb577d) --- tests/ci/load_images.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/ci') 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}" -- cgit 1.2.3-korg