The following warning appears in the unit test logs a number of times.
This patch fixes all the warnings in unit.compute.test_compute_mgr.
"UserWarning: This test uses methods that set internal oslo_db
state, but it does not claim to use the database. This will conflict
with the setup of tests that do use the database and cause failures
later."
Note that this warning is only emitted once per unit test worker, so new
offenders will show up in the logs each time you fix a test until they
are all gone.
Reviewed: https:/ /review. openstack. org/310631 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=a44d9995f4d e6a44549ebdc517 f550a454cefa65
Committed: https:/
Submitter: Jenkins
Branch: master
commit a44d9995f4de6a4 4549ebdc517f550 a454cefa65
Author: Diana Clarke <email address hidden>
Date: Wed Apr 27 21:00:51 2016 -0400
Fix database poison warnings, part 7
The following warning appears in the unit test logs a number of times. test_compute_ mgr.
This patch fixes all the warnings in unit.compute.
state, but it does not claim to use the database. This will conflict
with the setup of tests that do use the database and cause failures
later."
Note that this warning is only emitted once per unit test worker, so new
offenders will show up in the logs each time you fix a test until they
are all gone.
Change-Id: Ie9a3f3a1d5f38f b81fff37922753d fca10b96531
Related-Bug: #1568414