commit 09090c8277284848007a8de1187b5cdc68c37d09
Author: Chris Dent <email address hidden>
Date: Mon Mar 4 20:08:28 2019 +0000
Use a placement conf when testing report client
It turns out that the independent wsgi interceptors in
test_report_client were using nova's global configuration
when creating the intercepts using code from placement.
This was working because until [1] placement's set of conf
options had not diverged from nova's and nova still has
placement_database config settings.
This change takes advantage of new functionality in the
PlacementFixture to allow the fixtur to manage config and
database, but _not_ run the interceptor. This means it
can set up a config that is later used by the independent
interceptors that are used in the report client tests.
Reviewed: https:/ /review. openstack. org/640853 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=09090c82772 84848007a8de118 7b5cdc68c37d09
Committed: https:/
Submitter: Zuul
Branch: master
commit 09090c827728484 8007a8de1187b5c dc68c37d09
Author: Chris Dent <email address hidden>
Date: Mon Mar 4 20:08:28 2019 +0000
Use a placement conf when testing report client
It turns out that the independent wsgi interceptors in report_ client were using nova's global configuration database config settings.
test_
when creating the intercepts using code from placement.
This was working because until [1] placement's set of conf
options had not diverged from nova's and nova still has
placement_
This change takes advantage of new functionality in the xture to allow the fixtur to manage config and
PlacementFi
database, but _not_ run the interceptor. This means it
can set up a config that is later used by the independent
interceptors that are used in the report client tests.
[1] Ie43a69be8b7525 0d9deca6a911eda 7b722ef8648
Change-Id: I05326e0f917ca1 b9a6ef8d3bd463f 68bd00e217e c0db1a5b6b5389b 160b68ca488
Closes-Bug: #1818560
Depends-On: I8c36f35dbe85b0