The following warning appears in the unit test logs a number of times.
"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/375895 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=8c753e9a843 8010b274314d86b 71dc50249043e3
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8c753e9a8438010 b274314d86b71dc 50249043e3
Author: Diana Clarke <email address hidden>
Date: Sat Sep 24 15:55:35 2016 -0400
Fix database poison warnings, part 17
The following warning appears in the unit test logs a number of times.
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."
This patch fixes all the warnings from:
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: I88264e54fd135e 56612ae3066e1c1 60f6643f9c4
Related-Bug: #1568414