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."
This patch fixes all the warnings (7 new ones) from:
unit.compute.test_compute_mgr.py
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/391512 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=f7ed4b1b99b e5d6ddb300ad0f7 83ce9cb931ea4d
Committed: https:/
Submitter: Jenkins
Branch: master
commit f7ed4b1b99be5d6 ddb300ad0f783ce 9cb931ea4d
Author: Diana Clarke <email address hidden>
Date: Fri Oct 28 10:56:17 2016 -0400
Fix database poison warnings, part 24
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 (7 new ones) 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: Ibe23b977f24a28 40eee6f8386d7c0 bbbab6783fa
Related-Bug: #1568414