From 2b8418926fe752bb1fb3d4db58e9edfaecdbc4f6 Mon Sep 17 00:00:00 2001 From: Boden R Date: Mon, 4 Mar 2019 11:58:34 -0700 Subject: [PATCH] skip DVR specific dynamic routing tests A recent change in dynamic routing impacted our unit tests as shown in the PY unit test results of PS1 from this patch. As the UTs introduced as part of [1] are DVR and IPv6 specific, this patch proposes to skip them vmware-nsx. More details on this can be found in today's #openstack-neutron IRC chat between myself and "tidwellr". [1] https://review.openstack.org/#/c/581098/ Change-Id: I07bf09730d9ca01a66019a2155f0c16307840e81 --- .../dynamic_routing/test_nsxv_bgp_driver.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/vmware_nsx/tests/unit/services/dynamic_routing/test_nsxv_bgp_driver.py b/vmware_nsx/tests/unit/services/dynamic_routing/test_nsxv_bgp_driver.py index f3125ab1a0..973b3d2c2a 100644 --- a/vmware_nsx/tests/unit/services/dynamic_routing/test_nsxv_bgp_driver.py +++ b/vmware_nsx/tests/unit/services/dynamic_routing/test_nsxv_bgp_driver.py @@ -120,6 +120,24 @@ class TestNSXvBgpPlugin(test_plugin.NsxVPluginV2TestCase, yield self.bgp_plugin.get_bgp_speaker(self.context, bgp_speaker_id) + def test_get_external_networks_for_port_same_address_scope_v6(self): + self.skipTest("IPv6 not supported by this plugin.") + + def test_get_external_networks_for_port_different_address_scope_v6(self): + self.skipTest("IPv6 not supported by this plugin.") + + def test__get_dvr_fixed_ip_routes_by_bgp_speaker_same_scope(self): + self.skipTest("DVR specific.") + + def test_get_external_networks_for_port_different_address_scope_v4(self): + self.skipTest("DVR specific.") + + def test__get_dvr_fixed_ip_routes_by_bgp_speaker_different_scope(self): + self.skipTest("DVR specific.") + + def test__get_dvr_fixed_ip_routes_by_bgp_speaker_no_scope(self): + self.skipTest("DVR specific.") + def test_create_v6_bgp_speaker(self): fake_bgp_speaker = { "bgp_speaker": {