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 all the warnings from:
unit.api.openstack.compute.test_keypairs.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/345640 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=46cf8afa175 8d07f5ece2a5251 7aa16adb2812fd
Committed: https:/
Submitter: Jenkins
Branch: master
commit 46cf8afa1758d07 f5ece2a52517aa1 6adb2812fd
Author: Diana Clarke <email address hidden>
Date: Thu Jul 21 15:47:45 2016 -0400
Fix database poison warnings, part 9
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 all 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: I4284dd7ecb9c60 834dba662838f67 d9defc798e2
Related-Bug: #1568414