ironic/ironic/tests/unit/api
Dmitry Tantsur ae956dcba8 Fix rare HTTP 400 from port list API
This may happen when a node is deleted in parallel with calling
the port list API. Ports are fetched, then we try do fetch their
nodes and port groups. If either of them are removed in the meantime,
the API fails with HTTP 400. This change works around it.

Change-Id: Ie2d4c46c031ee86976abb6107433cdde87a4345a
Closes-Bug: #1748893
(cherry picked from commit 52dcc642d3)
2018-02-19 17:18:50 +00:00
..
controllers Fix rare HTTP 400 from port list API 2018-02-19 17:18:50 +00:00
__init__.py Prepare for functional testing 2015-09-28 21:27:01 +00:00
base.py Unit test consistency: DB base and utils prefix 2017-06-20 09:36:21 +01:00
test_acl.py Add keystone policy support to Ironic 2016-08-04 12:43:20 +00:00
test_audit.py Remove unnecessary setUp function in testcase 2017-03-30 15:39:55 +08:00
test_hooks.py Add user and project domains to ironic context 2016-11-15 17:35:22 +02:00
test_middleware.py Properly allow Ironic headers in REST API 2017-05-04 15:30:45 -03:00
test_ospmiddleware.py Add I202 to flake ignore list 2017-10-25 14:32:52 +03:00
test_root.py Pin API version during rolling upgrade 2017-12-04 10:17:30 -05:00
utils.py Node traits: Add DB API & model 2018-01-11 15:20:43 +00:00