[FT] Remove test "test_get_datapath_id"

The method to retrieve an OVS bridge datapath ID have proven to work.
However the functional test is unstable. In order to improve the CI
stability, this patch is removing this single test.

Closes-Bug: #2000163
Change-Id: I784b29e364d21d064ede233aa05a1f00079a4cae
This commit is contained in:
Rodolfo Alonso Hernandez 2023-12-19 20:44:25 +00:00 committed by Rodolfo Alonso
parent ef3089547b
commit b4d39fd6e5

View File

@ -22,7 +22,6 @@ from oslo_config import cfg
from ovsdbapp.backend.ovs_idl import idlutils
from neutron.agent.common import ovs_lib
from neutron.agent.linux import ip_lib
from neutron.common import utils
from neutron.tests.common import net_helpers
from neutron.tests.functional.agent.linux import base
@ -218,11 +217,6 @@ class OVSBridgeTestCase(OVSBridgeTestBase):
def test_set_igmp_snooping_disabled(self):
self._test_set_igmp_snooping_state(False)
def test_get_datapath_id(self):
brdev = ip_lib.IPDevice(self.br.br_name)
dpid = brdev.link.attributes['link/ether'].replace(':', '')
self.assertIn(dpid, self.br.get_datapath_id())
def _test_add_tunnel_port(self, attrs,
expected_tunnel_type=const.TYPE_GRE):
port_name = utils.get_rand_device_name(net_helpers.PORT_PREFIX)