neutron/neutron/tests/common
Slawek Kaplonski b19b55909d Don't set and remove immediately DEAD VLAN tag in tests
In fullstack and functional tests where OVSPortFixture is used to create
port in OVS bridge, just after port was created by ovs interface driver,
DEAD_VLAN tag was removed from the port as it's not needed in tests.
But this could cause race condition and instead of removing DEAD_VLAN
tag, actually correct tag configured by e.g. neutron_openvswitch_agent
was removed and traffic to such port wasn't working at all.

To avoid that race, now method which adds setting DEAD_VLAN tag to the
port_replace transaction is now mocked so there will be no DEAD VLAN tag
set on such port at all.

This patch also removes unstable test decorator from the
TestDhcpAgentHA.test_multiple_agents_for_network fullstack test as it
seems for me that this was the reason why this test was failing pretty
often.

Closes-Bug: #2000150
Change-Id: I3938c94bbd531fac461e80e791c128821a4f837f
2023-04-28 09:58:54 +00:00
..
agents Use neutron-lib constants for OVS table numbers 2022-12-01 09:16:58 +00:00
exclusive_resources use synchronized lock decorator from neutron-lib 2017-10-04 13:57:42 -06:00
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Remove references to unittest2 library 2020-01-14 09:03:26 +00:00
config_fixtures.py Remove "six" library 2020-07-28 16:55:52 +00:00
conn_testers.py Use ovs constants from neutron-lib 2022-06-17 10:36:44 +05:30
helpers.py Remove "distutils" library 2022-05-12 23:50:07 +00:00
l3_test_common.py Remove "six" library 2020-07-28 16:55:52 +00:00
machine_fixtures.py Merge "fullstack: test for IPv6 north-south traffic" 2016-11-09 12:02:45 +00:00
net_helpers.py Don't set and remove immediately DEAD VLAN tag in tests 2023-04-28 09:58:54 +00:00