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 warnings from:
unit.virt.vmwareapi.test_driver_api.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/347006 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=131686f66c8 0834470529eb707 10dbeffbbaad96
Committed: https:/
Submitter: Jenkins
Branch: master
commit 131686f66c80834 470529eb70710db effbbaad96
Author: Diana Clarke <email address hidden>
Date: Mon Jul 25 14:00:32 2016 -0600
Fix database poison warnings, part 13
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 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: I2dd21ec8c97016 1f695b2f37ae097 3343678a0c4
Related-Bug: #1568414