diff options
Diffstat (limited to 'testcases/testcase.py')
-rw-r--r-- | testcases/testcase.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testcases/testcase.py b/testcases/testcase.py index 9c755ea7..d470d951 100644 --- a/testcases/testcase.py +++ b/testcases/testcase.py @@ -251,7 +251,9 @@ class TestCase(object): """ # hugepages are needed by DPDK and Qemu if not self._hugepages_mounted and \ - (self.deployment.count('v') or S.getValue('VSWITCH').lower().count('dpdk')): + (self.deployment.count('v') or \ + S.getValue('VSWITCH').lower().count('dpdk') or \ + self._vswitch_none): hugepages.mount_hugepages() self._hugepages_mounted = True |