summaryrefslogtreecommitdiffstats
path: root/tests/ci/load_images.sh
diff options
context:
space:
mode:
authorKubi <jean.gaoliang@huawei.com>2017-02-16 06:44:57 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-16 06:44:57 +0000
commit1025a5d703cec7a479f7644dc916dfa82a84ffaf (patch)
tree82d940778991d455c265717dbf2888d2645f25e0 /tests/ci/load_images.sh
parent1eb4b53c4a7e34c592337ba26583d13d40c9630a (diff)
parent380df62b1f4e311a7dcc342fafdaec11b539e93f (diff)
Merge "load_images: update flavor for _ovs_ scenarios"
Diffstat (limited to 'tests/ci/load_images.sh')
-rwxr-xr-xtests/ci/load_images.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ci/load_images.sh b/tests/ci/load_images.sh
index e1d717749..6f950ec72 100755
--- a/tests/ci/load_images.sh
+++ b/tests/ci/load_images.sh
@@ -206,7 +206,7 @@ create_nova_flavor()
# Create the nova flavor used by some sample test cases
openstack flavor create --id 100 --ram 512 --disk 3 --vcpus 1 yardstick-flavor
# DPDK-enabled OVS requires guest memory to be backed by large pages
- if [[ "$DEPLOY_SCENARIO" == *"-ovs-"* ]]; then
+ if [[ $DEPLOY_SCENARIO == *[_-]ovs[_-]* ]]; then
openstack flavor set --property hw:mem_page_size=large yardstick-flavor
fi
# VPP requires guest memory to be backed by large pages