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 the one warning from:
unit.virt.libvirt.test_imagecache.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/346172 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=af9aa1c24f8 10633ee0a5efacb 84518c3e4e6c5d
Committed: https:/
Submitter: Jenkins
Branch: master
commit af9aa1c24f81063 3ee0a5efacb8451 8c3e4e6c5d
Author: Diana Clarke <email address hidden>
Date: Fri Jul 22 14:27:37 2016 -0400
Fix database poison warnings, part 11
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 the one warning 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: I057852125249d4 1d0b645a68013fe f62249a2af7
Related-Bug: #1568414