The following warning appears in the unit test logs a number of times.
This patch fixes the last warnings in unit.compute.test_compute_api.
"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/310325 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=5e4c9dec01c b841280e3e9e7a5 b9473edd14c539
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5e4c9dec01cb841 280e3e9e7a5b947 3edd14c539
Author: Diana Clarke <email address hidden>
Date: Tue Apr 26 18:33:20 2016 -0400
Fix database poison warnings, part 5
The following warning appears in the unit test logs a number of times. test_compute_ api.
This patch fixes the last warnings in unit.compute.
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: I9f81e22fda8dba b2007aa7d2aa972 b9dce364b5f
Related-Bug: #1568414