From bcf0c3d2acff1fb90d64f018c37f674ae70de8af Mon Sep 17 00:00:00 2001 From: Dmitrii Shcherbakov Date: Tue, 20 Sep 2022 23:33:24 +0300 Subject: [PATCH] Move DPDK-related functions to DPDKTest The previous change 268b4297b47a60cddd71caccc3e322250321f38a did not move the rest of the functions required to actually run the test case. (cherry picked from commit 787415ae94e4f7089112180043093f997c104177) --- zaza/openstack/charm_tests/ovn/tests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zaza/openstack/charm_tests/ovn/tests.py b/zaza/openstack/charm_tests/ovn/tests.py index 3fa00a121..97dfa2784 100644 --- a/zaza/openstack/charm_tests/ovn/tests.py +++ b/zaza/openstack/charm_tests/ovn/tests.py @@ -197,6 +197,10 @@ def test_wrong_bridge_config(self): 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. @@ -294,10 +298,6 @@ def _dpdk_pre_post_flight_check(self): 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')