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 last two warnings from:
unit.compute.test_compute_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/346239 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=e245086498d 3b17203d52e1c9b 4d09734788bee7
Committed: https:/
Submitter: Jenkins
Branch: master
commit e245086498d3b17 203d52e1c9b4d09 734788bee7
Author: Diana Clarke <email address hidden>
Date: Fri Jul 22 17:22:53 2016 -0400
Fix database poison warnings, part 12
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 last two 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: I8fefd8228f2aa9 490cab943a79c50 e76b1e66fa8
Related-Bug: #1568414