summaryrefslogtreecommitdiffstats
path: root/tests/ci/load_images.sh
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2017-03-23 01:14:43 +0000
committerJingLu5 <lvjing5@huawei.com>2017-03-23 01:14:43 +0000
commit2fb078e21a3cd0dc69732f33b5a6ecc422eb577d (patch)
tree9a768b67a902465a4ac8bbd5f559204788340348 /tests/ci/load_images.sh
parent2eca6808f3750633a0ab265a027fc9941ff1eafc (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>
Diffstat (limited to 'tests/ci/load_images.sh')
-rwxr-xr-xtests/ci/load_images.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ci/load_images.sh b/tests/ci/load_images.sh
index 4b8f2c0e1..a326458a9 100755
--- a/tests/ci/load_images.sh
+++ b/tests/ci/load_images.sh
@@ -237,8 +237,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}"