nova/nova/tests/functional/notification_sample_tests
Balazs Gibizer 23d3b8fbc9 Remove global state from the FakeDriver
The virt driver FakeDriver used in both the functional and in the unit
test used a global state to configure the host and node names the driver
reports. This was hard to use when more then one compute service is started.
Also global state is dangerous.

It turned out that only a set of unit tests are using multiple nodes per
compute the rest of the tests can simply use host=<hostname>,
nodes=[<hostname>] setup.

So this removes the global state.

On stable/stein:
* Changes in functional/regressions/test_bug_1764556.py just removes the
  usage of the global state as that test was backported before the patch
  being backported was introduced

* Changes in functional/regressions/test_bug_1839560.py is a re-backport
  of If822509e906d5094f13a8700b2b9ed3c40580431 adapted to the current
  patch.

Related-Bug: #1859766

Change-Id: I2cf2fcbaebc706f897ce5dfbff47d32117064f9c
(cherry picked from commit b5666fb492)
2020-01-17 16:04:46 +01:00
..
__init__.py Adds json sample for the versioned notifications 2016-01-28 15:31:21 +01:00
notification_sample_base.py Move binding ips to privsep. 2019-02-08 00:23:06 +00:00
test_aggregate.py Transform aggregate.update_prop notification 2018-07-15 23:36:31 +09:00
test_compute_task.py Transform scheduler.select_destinations notification 2018-11-30 13:20:35 +01:00
test_exception_notification.py Add full traceback to ExceptionPayload in versioned notifications 2018-06-19 16:46:46 +08:00
test_flavor.py Add microversion to allow setting flavor description 2017-11-15 22:10:39 +00:00
test_instance.py Remove global state from the FakeDriver 2020-01-17 16:04:46 +01:00
test_keypair.py Transform keypair.import notification 2017-10-30 16:44:29 -04:00
test_libvirt.py Transform libvirt.error notification 2018-09-18 07:06:09 +00:00
test_metrics.py Use a static resource tracker in compute manager 2019-01-17 06:34:29 +00:00
test_server_group.py Transform scheduler.select_destinations notification 2018-11-30 13:20:35 +01:00
test_service.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
test_volume.py Transform volume.usage notification 2018-10-09 06:28:11 +00:00