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
This commit is contained in:
Federico Ressi 2019-02-25 11:30:43 +00:00
parent 7d7f7cc2a2
commit 7355a916d0
1 changed files with 0 additions and 13 deletions

View File

@ -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)