bugfix: vping support not_hugepage_configured pod 39/36939/1
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Wed, 5 Jul 2017 02:50:09 +0000 (10:50 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Wed, 5 Jul 2017 02:50:09 +0000 (10:50 +0800)
this bug was fixed in https://gerrit.opnfv.org/gerrit/#/c/35181/
but was reverted in https://gerrit.opnfv.org/gerrit/#/c/35671/

Change-Id: I5cbbd61ac196dc39c073ffc69254d987e4807130
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
functest/opnfv_tests/openstack/vping/vping_base.py

index 7de16ce..00dda73 100644 (file)
@@ -115,7 +115,7 @@ class VPingBase(testcase.TestCase):
         self.logger.info(
             "Creating flavor with name: '%s'" % self.flavor_name)
         scenario = functest_utils.get_scenario()
-        flavor_metadata = create_flavor.MEM_PAGE_SIZE_ANY
+        flavor_metadata = None
         if 'ovs' in scenario or 'fdio' in scenario:
             flavor_metadata = create_flavor.MEM_PAGE_SIZE_LARGE
         flavor_creator = OpenStackFlavor(