neutron/neutron/tests/unit/plugins/ml2
Oleg Bondarev c74265efb9 DVR: avoid race on dvr serviceable port deletion
Please see race details in the bug report.
The fix is to check for dvr routers that needs to be removed
after actual port deletion.
As a bonus we can get rid of dvr logic in ml2 plugin delete_port().

It's hard to come up with a test here as race can only be
reproduced with multiple API workers.

Closes-Bug: #1538163
Change-Id: I7ab1b0c18e5daa6f35a37370b9be79e689e2ba50
2016-02-02 11:19:04 +03:00
..
db Reorganize plugin test modules 2015-04-07 00:55:25 +00:00
drivers Merge "lb: ml2-agt: Separate AgentLoop from LinuxBridge specific impl" 2016-02-01 10:55:55 +00:00
extensions Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
_test_mech_agent.py portbindings: use constants for extension keys 2016-01-10 00:42:53 -08:00
base.py Add high-level functional/integration DVR tests 2015-08-19 18:01:16 -04:00
test_agent_scheduler.py Move db agent schedulers test to a more appropriate place 2015-08-24 15:14:13 +03:00
test_db.py Batch db segment retrieval 2015-12-14 19:45:37 +00:00
test_driver_context.py Revert "Defer segment lookup in NetworkContext object" 2015-06-10 07:04:38 +00:00
test_ext_portsecurity.py Unify assertEqual for empty usages 2016-01-07 10:06:35 +00:00
test_extension_driver_api.py Fix module's import order 2016-01-22 06:38:42 -08:00
test_plugin.py DVR: avoid race on dvr serviceable port deletion 2016-02-02 11:19:04 +03:00
test_port_binding.py Add unit tests for ML2 DVR port binding and fix PortContext inconsistencies 2015-05-11 17:03:31 -04:00
test_rpc.py Use assertIn and assertNotIn 2015-10-05 20:47:18 +02:00
test_security_group.py Fix module's import order 2016-01-22 06:38:42 -08:00
test_tracked_resources.py Add relationship between port and floating ip 2016-01-29 12:28:15 +03:00