Fix buggy tests that use REQUIRES_LOCKING=True
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Opinion
|
Medium
|
Sean Dague |
Bug Description
from https:/
# NOTE(sdague): because of the way we were using the lock
# wrapper we eneded up with a lot of tests that started
# relying on global external locking being set up for them. We
# consider all of these to be *bugs*. Tests should not require
# global external locking, or if they do, they should
# explicitly set it up themselves.
#
# The following REQUIRES_LOCKING class parameter is provided
# as a bridge to get us there. No new tests should be added
# that require it, and existing classes and tests should be
# fixed to not need it.
We need to fix the tests that use REQUIRES_LOCKING = True.
tags: | added: testing |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in nova: | |
assignee: | nobody → Sean Dague (sdague) |
A bug for this isn't really helping get this work done. This is just one of those non bug test cleanup efforts.