From 9059dba6a70a977e9ba4d661962e2b67284317dd Mon Sep 17 00:00:00 2001 From: Abhishek Raut Date: Wed, 26 Aug 2015 12:17:39 -0700 Subject: [PATCH] Skip test_create_router_gateway_fails test Skip the test_create_router_gateway_fails test case in all three plugins since we do not inherit from L3_NAT_dbonly_mixin in any of these plugins. This test case was introduced as part of change Ic5d5162320bf3ff1bb8b09de3e8200ca46023b32 in upstream neutron. Change-Id: I197b76235450107c1423743da19af1b2bb99caad --- vmware_nsx/tests/unit/nsx_mh/test_plugin.py | 3 +++ vmware_nsx/tests/unit/nsx_v/test_plugin.py | 6 ++++++ vmware_nsx/tests/unit/nsx_v3/test_plugin.py | 3 +++ 3 files changed, 12 insertions(+) diff --git a/vmware_nsx/tests/unit/nsx_mh/test_plugin.py b/vmware_nsx/tests/unit/nsx_mh/test_plugin.py index 30db4fdf8e..b5747bf359 100644 --- a/vmware_nsx/tests/unit/nsx_mh/test_plugin.py +++ b/vmware_nsx/tests/unit/nsx_mh/test_plugin.py @@ -1071,6 +1071,9 @@ class TestL3NatTestCase(L3NatTest, def test_floating_port_status_not_applicable(self): self.skipTest('Plugin changes floating port status') + def test_create_router_gateway_fails(self): + self.skipTest('not supported') + class ExtGwModeTestCase(NsxPluginV2TestCase, test_ext_gw_mode.ExtGwModeIntTestCase): diff --git a/vmware_nsx/tests/unit/nsx_v/test_plugin.py b/vmware_nsx/tests/unit/nsx_v/test_plugin.py index 6b67fa608f..a43ed45578 100644 --- a/vmware_nsx/tests/unit/nsx_v/test_plugin.py +++ b/vmware_nsx/tests/unit/nsx_v/test_plugin.py @@ -2219,6 +2219,9 @@ class TestExclusiveRouterTestCase(L3NatTest, L3NatTestCaseBase, with self.subnet(network=net, enable_dhcp=False): self._make_floatingip(self.fmt, net_id) + def test_create_router_gateway_fails(self): + self.skipTest('not supported') + class ExtGwModeTestCase(NsxVPluginV2TestCase, test_ext_gw_mode.ExtGwModeIntTestCase): @@ -2498,6 +2501,9 @@ class TestVdrTestCase(L3NatTest, L3NatTestCaseBase, def test_router_add_interface_multiple_ipv6_subnets_different_net(self): self.skipTest('TBD') + def test_create_router_gateway_fails(self): + self.skipTest('not supported') + class TestNSXvAllowedAddressPairs(test_addr_pair.TestAllowedAddressPairs, NsxVPluginV2TestCase): diff --git a/vmware_nsx/tests/unit/nsx_v3/test_plugin.py b/vmware_nsx/tests/unit/nsx_v3/test_plugin.py index 25f9ec5eca..e11ac00faa 100644 --- a/vmware_nsx/tests/unit/nsx_v3/test_plugin.py +++ b/vmware_nsx/tests/unit/nsx_v3/test_plugin.py @@ -328,6 +328,9 @@ class TestL3NatTestCase(L3NatTest, gw_info = body['router']['external_gateway_info'] self.assertIsNone(gw_info) + def test_create_router_gateway_fails(self): + self.skipTest('not supported') + class ExtGwModeTestCase(L3NatTest, test_ext_gw_mode.ExtGwModeIntTestCase):