nova/nova/tests/functional/regressions
Stephen Finucane 8750c4e173 functional: Enable real policy fixture by default
Enable the policy fixture by default, which should yield more realistic
functional tests. We need to update some tests to use admin APIs where
policy dictates they are necessary. Note that we're currently testing
the legacy policy - not the updated, scoped policy - since the legacy
policy is the default one currently.

Note that we also need to modify the 'SingleCellSimple' fixture in this
change to use the same project ID as the 'OSAPIFixture'.

Change-Id: Ia3dea78f16cb3c7081714c4db36e20d5ee76ed7d
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2020-09-16 11:31:23 +01:00
..
README.rst add a place for functional test to block specific regressions 2016-02-24 18:14:27 +00:00
__init__.py add a place for functional test to block specific regressions 2016-02-24 18:14:27 +00:00
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 functional: Enable real policy fixture by default 2020-09-16 11:31:23 +01:00
test_bug_1886418.py functional: Enable real policy fixture by default 2020-09-16 11:31:23 +01:00
test_bug_1888395.py functional: Add 'start_compute' helper 2020-09-10 13:51:57 +01:00
test_bug_1889108.py Track error migrations in resource tracker 2020-09-10 05:30:39 +00:00
test_bug_1893284.py Default user_id when not specified in check_num_instances_quota 2020-08-29 03:25:31 +00: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.