Fix broken unit tests
Commit ab302fe6cde3795cc778179fdcadf71a188829b5 broke the unit tests. This is due to the fact that the plugin changes the port status. Change-Id: I2226aa50444bda963bb58344863ab395ef8b4d73
This commit is contained in:
parent
86118f6692
commit
880d0f3fa5
@ -880,6 +880,9 @@ class TestL3NatTestCase(L3NatTest,
|
||||
super(TestL3NatTestCase,
|
||||
self).test_update_subnet_gateway_for_external_net()
|
||||
|
||||
def test_floatingip_update_to_same_port_id_twice(self):
|
||||
self.skipTest('Plugin changes floating port status')
|
||||
|
||||
def test_floating_port_status_not_applicable(self):
|
||||
self.skipTest('Plugin changes floating port status')
|
||||
|
||||
|
@ -3127,6 +3127,9 @@ class TestExclusiveRouterTestCase(L3NatTest, L3NatTestCaseBase,
|
||||
self.assertEqual([az_name],
|
||||
returned_router['availability_zones'])
|
||||
|
||||
def test_floatingip_update_to_same_port_id_twice(self):
|
||||
self.skipTest('Plugin changes floating port status')
|
||||
|
||||
|
||||
class ExtGwModeTestCase(NsxVPluginV2TestCase,
|
||||
test_ext_gw_mode.ExtGwModeIntTestCase):
|
||||
@ -3662,6 +3665,9 @@ class TestVdrTestCase(L3NatTest, L3NatTestCaseBase,
|
||||
def test_create_router_gateway_fails(self):
|
||||
self.skipTest('not supported')
|
||||
|
||||
def test_floatingip_update_to_same_port_id_twice(self):
|
||||
self.skipTest('Plugin changes floating port status')
|
||||
|
||||
|
||||
class TestNSXvAllowedAddressPairs(NsxVPluginV2TestCase,
|
||||
test_addr_pair.TestAllowedAddressPairs):
|
||||
|
@ -645,6 +645,9 @@ class TestL3NatTestCase(L3NatTest,
|
||||
def test_router_add_interface_multiple_ipv4_subnets(self):
|
||||
self.skipTest('not supported')
|
||||
|
||||
def test_floatingip_update_to_same_port_id_twice(self):
|
||||
self.skipTest('Plugin changes floating port status')
|
||||
|
||||
|
||||
class ExtGwModeTestCase(test_ext_gw_mode.ExtGwModeIntTestCase,
|
||||
L3NatTest):
|
||||
|
Loading…
Reference in New Issue
Block a user