The following warning appears in the unit test logs a number of times.
This patch fixes the warnings in ComputeAPIAPICellUnitTestCase.
"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/306887 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=70de70c71cf fd849bdf533967a f689e339cf558f
Committed: https:/
Submitter: Jenkins
Branch: master
commit 70de70c71cffd84 9bdf533967af689 e339cf558f
Author: Diana Clarke <email address hidden>
Date: Sun Apr 17 21:42:01 2016 -0400
Fix database poison warnings, part 3
The following warning appears in the unit test logs a number of times. llUnitTestCase.
This patch fixes the warnings in ComputeAPIAPICe
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: Idcd733df2aafe8 09cb89f2a1db5df 6ad227dd39c
Related-Bug: #1568414