The following warning appears in the unit test logs a number of times.
This patch fixes 30 of those warnings from virt.libvirt.test_driver, but
there are still a bunch more in that file.
"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/309644 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=b554a8c2232 889fe1ea53ba5ae 42b30c057c5a58
Committed: https:/
Submitter: Jenkins
Branch: master
commit b554a8c2232889f e1ea53ba5ae42b3 0c057c5a58
Author: Diana Clarke <email address hidden>
Date: Fri Apr 22 23:32:53 2016 -0400
Fix database poison warnings, part 4
The following warning appears in the unit test logs a number of times. test_driver, but
This patch fixes 30 of those warnings from virt.libvirt.
there are still a bunch more in that file.
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: I6eb16fbd1eaac6 da9f4e75506729e af050bda1cf
Related-Bug: #1568414