aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ci/load_images.sh
diff options
context:
space:
mode:
authorAlexandru Nemes <alexandru.nemes@enea.com>2017-06-19 12:04:56 +0300
committerAlexandru Nemes <alexandru.nemes@enea.com>2017-06-21 08:22:06 +0000
commitf9e384775559bca42e25f2f0ee952e2e304e678b (patch)
tree0db2628bd85751c47749ae6fe69efbaf7e52c537 /tests/ci/load_images.sh
parent9f576f22b8233f4baea14e42786c1a07f8afecd9 (diff)
Configure Yardstick flavor to give more RAM to ARM instances
Yardstick TC005 fails with errors that indicate low memory conditions: "fio: error while loading shared libraries: librbd.so.1: cannot map zero-fill pages" Changing the yardstick flavor to give 1024MB of RAM instead of 512MB made this test case work. JIRA: ARMBAND-275 Change-Id: I2193802082c28edb20004964d2df3780eb5eccb7 Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com> (cherry picked from commit 5c8e38667e17059db1c62dd21f868966a6b2a519)
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 2e22b83c2..0ebe9b77c 100755
--- a/tests/ci/load_images.sh
+++ b/tests/ci/load_images.sh
@@ -225,7 +225,7 @@ create_nova_flavor()
echo
echo "========== Creating yardstick-flavor =========="
# Create the nova flavor used by some sample test cases
- openstack flavor create --id 100 --ram 512 --disk 3 --vcpus 1 yardstick-flavor
+ openstack flavor create --id 100 --ram 1024 --disk 3 --vcpus 1 yardstick-flavor
# DPDK-enabled OVS requires guest memory to be backed by large pages
if [[ $DEPLOY_SCENARIO == *[_-]ovs[_-]* ]]; then
openstack flavor set --property hw:mem_page_size=large yardstick-flavor