Merge pull request #924 from dshcherb/2022-09-dpdk-separate
Move DPDK-related functions to DPDKTest
This commit is contained in:
@@ -199,6 +199,10 @@ class ChassisCharmOperationTest(BaseCharmOperationTest):
|
||||
self.test_config[
|
||||
'target_deploy_status'] = stored_target_deploy_status
|
||||
|
||||
|
||||
class DPDKTest(test_utils.BaseCharmTest):
|
||||
"""DPDK-related tests."""
|
||||
|
||||
def _openvswitch_switch_dpdk_installed(self):
|
||||
"""Assert that the openvswitch-switch-dpdk package is installed.
|
||||
|
||||
@@ -296,10 +300,6 @@ class ChassisCharmOperationTest(BaseCharmOperationTest):
|
||||
msg='OVS unexpectedly has DPDK initialized'):
|
||||
self._ovs_dpdk_initialized()
|
||||
|
||||
|
||||
class DPDKTest(test_utils.BaseCharmTest):
|
||||
"""DPDK-related tests."""
|
||||
|
||||
def test_enable_dpdk(self):
|
||||
"""Confirm that transitioning to/from DPDK works."""
|
||||
logging.info('Pre-flight check')
|
||||
|
||||
Reference in New Issue
Block a user