diff --git a/doc/source/test-removal.rst b/doc/source/test-removal.rst index 4757dc415f..d06e4ba412 100644 --- a/doc/source/test-removal.rst +++ b/doc/source/test-removal.rst @@ -64,7 +64,7 @@ The Old Way using subunit2sql directly SELECT * from tests where test_id like "%test_id%"; (where $test_id is the full test_id, but truncated to the class because of -setupClass or tearDownClass failures) +setUpClass or tearDownClass failures) You can access the infra mysql subunit2sql db w/ read-only permissions with: @@ -82,7 +82,7 @@ you would run the following: #. run the query: MySQL [subunit2sql]> select * from tests where test_id like "tempest.api.compute.admin.test_flavors_negative.FlavorsAdminNegativeTestJSON%"; which will return a table of all the tests in the class (but it will also - catch failures in setupClass and tearDownClass) + catch failures in setUpClass and tearDownClass) #. paste the output table with numbers and the mysql command you ran to generate it into the etherpad. @@ -185,4 +185,4 @@ to expect, and thus would not be able to enforce a specific behavior. If a test exists in Tempest that would meet this criteria as consequence of a change, the test must be removed according to the procedure discussed into this document. The API change should not be merged until all conditions -required for test removal can be met. \ No newline at end of file +required for test removal can be met. diff --git a/tempest/api/compute/servers/test_server_actions.py b/tempest/api/compute/servers/test_server_actions.py index 6160024e2c..b915739168 100644 --- a/tempest/api/compute/servers/test_server_actions.py +++ b/tempest/api/compute/servers/test_server_actions.py @@ -471,7 +471,7 @@ class ServerActionsTestJSON(base.BaseV2ComputeTest): # NOTE: SHUTOFF is irregular status. To avoid test instability, # one server is created only for this test without using - # the server that was created in setupClass. + # the server that was created in setUpClass. server = self.create_test_server(wait_until='ACTIVE') temp_server_id = server['id']