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.
This patch is intended to be merged after all the existing warnings are
addressed by other patches in this series:
Reviewed: https:/ /review. openstack. org/349082 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=3a011783552 5a1dc0d66930b19 110a4343419ad6
Committed: https:/
Submitter: Jenkins
Branch: master
commit 3a0117835525a1d c0d66930b19110a 4343419ad6
Author: Diana Clarke <email address hidden>
Date: Fri Jul 29 15:44:09 2016 -0600
Change database poison warning to an exception
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."
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.
This patch is intended to be merged after all the existing warnings are
addressed by other patches in this series:
https:/ /review. openstack. org/#/q/ topic:bug/ 1568414
Change-Id: I91909a356187ba c70fa2fa920cebf 3888410ae01
Closes-Bug: #1568414