From 7355a916d071c69a3704ce1d3197f05da501656d Mon Sep 17 00:00:00 2001 From: Federico Ressi Date: Mon, 25 Feb 2019 11:30:43 +0000 Subject: [PATCH] Disable "unsafe" os-fault operation (for the second time) Arie: we have are still discussing about this! - OVS is not the default virtual switch of OSP any more. - the discussion about the workflow is still in progress - Please stop using OS-Fault until you didn't understood my point about system operations. I am writing a complete design document regarding why and what Tobiko is. - Please be patient. :-( - a test case called floating IP is definitively the last place where I would execute this operation. Change-Id: I42beebab204f3baae67cc9eefcc31ccf0312f607 --- tobiko/tests/scenario/test_floatingip.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tobiko/tests/scenario/test_floatingip.py b/tobiko/tests/scenario/test_floatingip.py index 4c2d4cc02..4d33b8058 100644 --- a/tobiko/tests/scenario/test_floatingip.py +++ b/tobiko/tests/scenario/test_floatingip.py @@ -14,24 +14,13 @@ # under the License. from __future__ import absolute_import -import testscenarios -from testscenarios.scenarios import multiply_scenarios - from tobiko.tests.scenario import base from tobiko.common.asserts import assert_ping -from tobiko.common.managers import fault - -load_tests = testscenarios.load_tests_apply_scenarios class FloatingIPTest(base.ScenarioTestsBase): """Tests server connectivity""" - fault_manager = fault.FaultManager(__file__) - test_faults = fault_manager.scenarios - if test_faults: - scenarios = multiply_scenarios(test_faults) - @classmethod def setUpClass(cls): super(FloatingIPTest, cls).setUpClass() @@ -40,9 +29,7 @@ class FloatingIPTest(base.ScenarioTestsBase): def test_ping_floating_ip(self): """Validates connectivity to a server post upgrade.""" - self.fault_manager.run_fault(self.fault) assert_ping(self.fip) def test_ping_unreachable_floating_ip(self): - self.fault_manager.run_fault(self.fault) assert_ping(self.unreachable_fip, should_fail=True)