From 5b735d134a68d9fe2d9ed1d4482686cef9d38873 Mon Sep 17 00:00:00 2001 From: Linda Wang Date: Thu, 7 Dec 2017 07:29:07 +0000 Subject: Set the ram of flavor 1024 The setting of hw:mem_page_size=large indicates larger page sizes for guest RAM, eg., either 2MB or 1GB on x86. When tested on compass, 1GB is required. Change-Id: Iefd2e8ff30e0a496157e0bd118e63ab3c402abab Signed-off-by: Linda Wang --- functest/opnfv_tests/openstack/tempest/tempest.py | 1 + 1 file changed, 1 insertion(+) (limited to 'functest/opnfv_tests/openstack/tempest') diff --git a/functest/opnfv_tests/openstack/tempest/tempest.py b/functest/opnfv_tests/openstack/tempest/tempest.py index 979e992f..58882b99 100644 --- a/functest/opnfv_tests/openstack/tempest/tempest.py +++ b/functest/opnfv_tests/openstack/tempest/tempest.py @@ -438,6 +438,7 @@ class TempestResourcesManager(object): flavor_metadata_alt = None if 'ovs' in scenario or 'fdio' in scenario: flavor_metadata_alt = create_flavor.MEM_PAGE_SIZE_LARGE + CONST.__setattr__('openstack_flavor_ram', 1024) flavor_creator_alt = OpenStackFlavor( self.os_creds, FlavorConfig( name=CONST.__getattribute__( -- cgit 1.2.3-korg