OpenStack Compute (Nova)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Előd Illés a3f286f43d Set error state after failed evacuation 2 years ago
..
README.rst add a place for functional test to block specific regressions 4 years ago
__init__.py add a place for functional test to block specific regressions 4 years ago
test_bug_1522536.py Stop using mox stubs in cast_as_call.py 2 years ago
test_bug_1541691.py Remove unused conf 3 years ago
test_bug_1548980.py Stop using mox stubs in cast_as_call.py 2 years ago
test_bug_1552888.py Trivial-Fix: Fix typos 4 years ago
test_bug_1554631.py Catching OverQuota Exception 3 years ago
test_bug_1558866.py Enable Neutron by default 3 years ago
test_bug_1568208.py Fix generation of Guru Meditation Report 4 years ago
test_bug_1595962.py Stop using mox stubs in cast_as_call.py 2 years ago
test_bug_1620248.py Stop using mox stubs in cast_as_call.py 2 years ago
test_bug_1627838.py Stop overwriting thread local context in ClientRouter 3 years ago
test_bug_1670627.py Stop using mox stubs in cast_as_call.py 2 years ago
test_bug_1671648.py Stop using mox stubs in cast_as_call.py 2 years ago
test_bug_1675570.py Stop using mox stubs in cast_as_call.py 2 years ago
test_bug_1678326.py Commit usage decrement after destroying instance 3 years ago
test_bug_1679750.py Resource tracker compatibility with Ocata and Pike 2 years ago
test_bug_1682693.py Use deepcopy when process filters in db api 3 years ago
test_bug_1689692.py Stop using mox stubs in cast_as_call.py 2 years ago
test_bug_1713783.py Set error state after failed evacuation 2 years ago

README.rst

Tests for Specific Regressions

When we have a bug reported by end users that we can write a full stack reproduce on, we should. And we should keep a regression test for that bug in our tree. It can be deleted at some future date if needed, but largely should not be changed.

Writing Regression Tests

  • These should be full stack tests which inherit from nova.test.TestCase directly. (This is to prevent coupling with other tests).
  • They should setup a full stack cloud in their setUp via fixtures
  • They should each live in a file which is named test_bug######.py

Writing Tests Before the Bug is Fixed

TODO describe writing and landing tests before the bug is fixed as a reproduce.