nova/nova/tests/functional/regressions
Stephen Finucane 6c4d1a6aab functional: Add 'start_compute' helper
Change Id3f77c4ecccfdc4caa6dbf120c3df4fbdfce9d0f added the
'start_computes' function as a helper to start multiple compute hosts
with different 'HostInfo' objects. Unfortunately, there are cases where
you might also want to start multiple computes with e.g. different
'PCIInfo' objects and this can't handle those cases. We could expand the
'host_info_dict' parameter to transition from a mapping of hostnames ->
HostInfo objects to a mapping of hostnames -> HostInfo and PCIInfo
objects, but after a while that gets frankly quite ridiculous. Instead,
replace 'start_computes' with 'start_compute', a new helper that can
handle creating a new service with its own unique 'HostInfo' and various
other attributes currently accepted by the '_get_connection' helper.
This allows us to remove 'start_computes' in its entirety.

Change-Id: I79a16a0a62c6060cd3062174ce68fd8cbde9f3fc
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2020-09-10 13:51:57 +01:00
..
README.rst
__init__.py
test_bug_1404867.py func: Add CinderFixture to _IntegratedTestBase 2020-08-03 20:41:18 +01:00
test_bug_1522536.py replace chance with filter scheduler in func tests 2017-08-16 14:42:51 +00:00
test_bug_1541691.py Remove unused conf 2016-09-02 09:02:23 +08:00
test_bug_1548980.py tests: Stop starting consoleauth in functional tests 2019-06-17 15:18:31 +01:00
test_bug_1552888.py Trivial-Fix: Fix typos 2016-06-13 06:41:08 +00:00
test_bug_1554631.py Catching OverQuota Exception 2017-05-03 19:00:34 +00:00
test_bug_1558866.py remove unnecessary conf imports 2018-03-09 14:30:10 -05:00
test_bug_1568208.py Fix generation of Guru Meditation Report 2016-04-13 17:00:32 +03:00
test_bug_1595962.py libvirt: Don't delete disks on shared storage during evacuate 2020-05-26 10:43:16 +01:00
test_bug_1620248.py Stop using mox stubs in cast_as_call.py 2017-07-25 00:40:41 +00:00
test_bug_1669054.py tests: Remove 'test_servers.ServersTestBase' 2020-07-16 17:58:37 +01:00
test_bug_1670627.py functional: Rework '_delete_server' 2019-11-15 16:06:57 +00:00
test_bug_1671648.py Switch some GitHub URLs to point to opendev.org 2019-08-19 21:08:27 +01:00
test_bug_1675570.py functional: Rework '_delete_server' 2019-11-15 16:06:57 +00:00
test_bug_1678326.py functional: Rework '_delete_server' 2019-11-15 16:06:57 +00:00
test_bug_1679750.py functional: Add '_delete_server' to 'InstanceHelperMixin' 2020-01-15 10:31:24 +00:00
test_bug_1682693.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_bug_1689692.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_bug_1702454.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_bug_1713783.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_bug_1718455.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_bug_1718512.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_bug_1719730.py functional: Remove 'api' parameter 2019-12-06 15:35:33 +00:00
test_bug_1732947.py func: Add CinderFixture to _IntegratedTestBase 2020-08-03 20:41:18 +01:00
test_bug_1735407.py functional: Remove 'api' parameter 2019-12-06 15:35:33 +00:00
test_bug_1741125.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_bug_1741307.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_bug_1746483.py functional: Remove 'api' parameter 2019-12-06 15:35:33 +00:00
test_bug_1764556.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_bug_1764883.py func tests: move _run_periodics() into base class 2020-03-24 10:10:53 -04:00
test_bug_1778305.py Don't generate service UUID for deleted services 2019-07-30 18:48:51 +00:00
test_bug_1780373.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_bug_1781286.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_bug_1781710.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_bug_1784353.py functional: Remove 'api' parameter 2019-12-06 15:35:33 +00:00
test_bug_1790204.py Make API always RPC cast to conductor for resize/migrate 2019-11-13 10:19:53 -05:00
test_bug_1794996.py functional: Remove 'api' parameter 2019-12-06 15:35:33 +00:00
test_bug_1797580.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_bug_1806064.py functional: Add '_delete_server' to 'InstanceHelperMixin' 2020-01-15 10:31:24 +00:00
test_bug_1806515.py functional: Remove 'api' parameter 2019-12-06 15:35:33 +00:00
test_bug_1815153.py functional: Add '_create_server' helper 2020-01-20 14:32:43 +00:00
test_bug_1823370.py tests: Remove 'test_servers.ServersTestBase' 2020-07-16 17:58:37 +01:00
test_bug_1825020.py functional: Remove 'api' parameter 2019-12-06 15:35:33 +00:00
test_bug_1825034.py functional: Add '_create_server' helper 2020-01-20 14:32:43 +00:00
test_bug_1825537.py functional: Remove 'api' parameter 2019-12-06 15:35:33 +00:00
test_bug_1830747.py func tests: move _run_periodics() into base class 2020-03-24 10:10:53 -04:00
test_bug_1831771.py functional: Avoid race and fix use of self.api within test_bug_1831771 2020-03-04 13:39:45 +00:00
test_bug_1835822.py tests: Add helpers for rebuild, cold migrate, and shelve/unshelve 2020-08-25 17:55:25 +01:00
test_bug_1837955.py functional: Drop '_api' suffix from placement fixture 2020-08-19 18:07:25 +01:00
test_bug_1839560.py nova-manage db archive_deleted_rows is not multi-cell aware 2019-08-27 06:01:58 +00:00
test_bug_1843090.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_bug_1843708.py objects: Update keypairs when saving an instance 2020-07-22 12:29:19 +00:00
test_bug_1845291.py functional: Remove 'api' parameter 2019-12-06 15:35:33 +00:00
test_bug_1848343.py functional: Add '_create_server' helper 2020-01-20 14:32:43 +00:00
test_bug_1849165.py functional: Remove 'api' parameter 2019-12-06 15:35:33 +00:00
test_bug_1849409.py functional: Add '_delete_server' to 'InstanceHelperMixin' 2020-01-15 10:31:24 +00:00
test_bug_1852458.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_bug_1862633.py functional: Drop '_api' suffix from placement fixture 2020-08-19 18:07:25 +01:00
test_bug_1879878.py Set 'old_flavor', 'new_flavor' on source before resize 2020-09-08 09:58:21 +01:00
test_bug_1886418.py functional: Drop '_api' suffix from placement fixture 2020-08-19 18:07:25 +01:00
test_bug_1888395.py functional: Add 'start_compute' helper 2020-09-10 13:51:57 +01:00
test_bug_1889108.py func: Add CinderFixture to _IntegratedTestBase 2020-08-03 20:41:18 +01:00

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.