nova/nova/tests
Balazs Gibizer a85e6e07cf Stabilize functional tests
If a driver.spawn fails without triggering a re-schedule then the
placement cleanup and the compute build failure counter update
happens after every externally observable change (instance
state change, instance fault recording, notification sending) in
the finally block of _locked_do_build_and_run_instance() call.

We have couple of functional tests that assert either the placement
cleanup or the state of the build counter. These tests are unstable as
the test races with the compute manager code. As there are no externally
visible change to wait for this patch introduces some retry to
these tests to stabilize them.

Closes-Bug: #1870385

Change-Id: I68369e7fa7630a212f4b20fc09f4c40796934bb9
2020-04-03 15:44:36 +02:00
..
functional Stabilize functional tests 2020-04-03 15:44:36 +02:00
unit Merge "Add new default roles in remote console policies" 2020-04-02 11:03:44 +00:00
__init__.py
fixtures.py Delete ARQs for an instance when the instance is deleted. 2020-03-24 22:44:18 -07:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00