Remove the test_upload_large_objects negative test
The test_upload_large_objects test that is part of the test_account_quotas_negative.py has been skipped for 2 years now, and there is no way to run this test in a reliable way since all the container and account updates are done by background daemons running in the cluster somewhere. This commit removes the test from Tempest since it is a test that won't be run anymore. Change-Id: Id3917003f0cf3c0ab652c9ea16d22c696f52933f Closes-Bug: 1310597
This commit is contained in:
parent
882545e400
commit
09a16c44ca
|
@ -13,9 +13,7 @@
|
|||
# under the License.
|
||||
|
||||
from tempest.api.object_storage import base
|
||||
from tempest.common.utils import data_utils
|
||||
from tempest import config
|
||||
from tempest.lib import decorators
|
||||
from tempest.lib import exceptions as lib_exc
|
||||
from tempest import test
|
||||
|
||||
|
@ -91,14 +89,3 @@ class AccountQuotasNegativeTest(base.BaseObjectTest):
|
|||
self.assertRaises(lib_exc.Forbidden,
|
||||
self.account_client.create_account_metadata,
|
||||
{"Quota-Bytes": "100"})
|
||||
|
||||
@test.attr(type=["negative"])
|
||||
@decorators.skip_because(bug="1310597")
|
||||
@test.idempotent_id('cf9e21f5-3aa4-41b1-9462-28ac550d8d3f')
|
||||
@test.requires_ext(extension='account_quotas', service='object')
|
||||
def test_upload_large_object(self):
|
||||
object_name = data_utils.rand_name(name="TestObject")
|
||||
data = data_utils.arbitrary_string(30)
|
||||
self.assertRaises(lib_exc.OverLimit,
|
||||
self.object_client.create_object,
|
||||
self.container_name, object_name, data)
|
||||
|
|
Loading…
Reference in New Issue