The following warning appears in the unit test logs a number of times.
This patch fixes all the warnings in unit.compute.test_compute_utils.
"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/310334 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=c263995b13a 837997fd843be10 69b7d14b9befdc
Committed: https:/
Submitter: Jenkins
Branch: master
commit c263995b13a8379 97fd843be1069b7 d14b9befdc
Author: Diana Clarke <email address hidden>
Date: Tue Apr 26 21:27:58 2016 -0400
Fix database poison warnings, part 6
The following warning appears in the unit test logs a number of times. test_compute_ utils.
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: I593c9f7a2d5f68 8fe316347c61c34 339b79e8929
Related-Bug: #1568414