neutron/neutron/tests/unit/services/firewall
Eugene Nikanorov 58e6bb5893 Fix race condition with firewall deletion
In some cases when firewall is created and then deleted in short
period of time, there could be a race condition of firewall status
changes. Agent may change firewall status from PENDING_DELETE to ACTIVE
because the agent has just set it up on the backend.
Delete request then is not properly served and firewall remains in ERROR
state and can't be deleted at all.

To fix this changing status from PENDING_DELETE is not allowed.
Deleting firewall in ERROR state is allowed.

Change-Id: Iec3cfcb1e03b33dda8e1f10ca51bd9b61fa8030d
Closes-Bug: #1328162
2014-06-10 07:55:40 +04:00
..
agents Fix non-existent 'assert' calls to mocks 2014-05-20 22:07:58 -07:00
drivers Fix H302 violations in unit tests 2014-05-04 12:39:19 +02:00
__init__.py Firewall as a Service (FWaaS) APIs and DB Model 2013-07-29 22:06:50 -07:00
test_fwaas_plugin.py Fix race condition with firewall deletion 2014-06-10 07:55:40 +04:00