s3: reenable tests with range requests and checksums

Signed-off-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
Casey Bodley 2025-02-19 15:12:42 -05:00
parent dc155b5c26
commit ed8944c9cb

View file

@ -5943,7 +5943,6 @@ def _check_key_content(src_key, src_bucket_name, dest_key, dest_bucket_name, ver
assert src_data == dest_data
@pytest.mark.fails_on_dbstore
@pytest.mark.fails_on_rgw # https://tracker.ceph.com/issues/69936
def test_multipart_copy_small():
src_key = 'foo'
src_bucket_name = _create_key_with_random_content(src_key)
@ -6036,7 +6035,6 @@ def test_multipart_copy_without_range():
_check_key_content(src_key, src_bucket_name, dest_key, dest_bucket_name)
@pytest.mark.fails_on_dbstore
@pytest.mark.fails_on_rgw # https://tracker.ceph.com/issues/69936
def test_multipart_copy_special_names():
src_bucket_name = get_new_bucket()
@ -6216,7 +6214,6 @@ def test_multipart_upload_multiple_sizes():
client.complete_multipart_upload(Bucket=bucket_name, Key=key, UploadId=upload_id, MultipartUpload={'Parts': parts})
@pytest.mark.fails_on_dbstore
@pytest.mark.fails_on_rgw # https://tracker.ceph.com/issues/69936
def test_multipart_copy_multiple_sizes():
src_key = 'foo'
src_bucket_name = _create_key_with_random_content(src_key, 12*1024*1024)
@ -7393,7 +7390,6 @@ def test_multipart_resend_first_finishes_last():
_verify_atomic_key_data(bucket_name, key_name, file_size, 'A')
@pytest.mark.fails_on_dbstore
@pytest.mark.fails_on_rgw # https://tracker.ceph.com/issues/69936
def test_ranged_request_response_code():
content = 'testcontent'
@ -7412,7 +7408,6 @@ def _generate_random_string(size):
return ''.join(random.choice(string.ascii_letters + string.digits) for _ in range(size))
@pytest.mark.fails_on_dbstore
@pytest.mark.fails_on_rgw # https://tracker.ceph.com/issues/69936
def test_ranged_big_request_response_code():
content = _generate_random_string(8*1024*1024)
@ -7428,7 +7423,6 @@ def test_ranged_big_request_response_code():
assert response['ResponseMetadata']['HTTPStatusCode'] == 206
@pytest.mark.fails_on_dbstore
@pytest.mark.fails_on_rgw # https://tracker.ceph.com/issues/69936
def test_ranged_request_skip_leading_bytes_response_code():
content = 'testcontent'
@ -7444,7 +7438,6 @@ def test_ranged_request_skip_leading_bytes_response_code():
assert response['ResponseMetadata']['HTTPStatusCode'] == 206
@pytest.mark.fails_on_dbstore
@pytest.mark.fails_on_rgw # https://tracker.ceph.com/issues/69936
def test_ranged_request_return_trailing_bytes_response_code():
content = 'testcontent'