Skip to content

Commit

Permalink
Tag multipart tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gaul committed Oct 29, 2024
1 parent d245097 commit 65b315b
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ markers =
lifecycle_expiration
lifecycle_transition
list_objects_v2
multipart
object_lock
role_policy
session_policy
Expand Down
5 changes: 5 additions & 0 deletions s3tests/functional/test_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ def test_object_storage_class():
@pytest.mark.storage_class
@pytest.mark.fails_on_aws
@pytest.mark.fails_on_dbstore
@pytest.mark.multipart
def test_object_storage_class_multipart():
sc = configured_storage_classes()
if len(sc) < 2:
Expand Down Expand Up @@ -443,6 +444,7 @@ def test_object_modify_storage_class():
@pytest.mark.storage_class
@pytest.mark.fails_on_aws
@pytest.mark.fails_on_dbstore
@pytest.mark.multipart
def test_object_modify_storage_class_multipart():
_do_test_object_modify_storage_class(_populate_multipart_key, size=11*1024*1024)

Expand Down Expand Up @@ -476,6 +478,7 @@ def test_object_storage_class_copy():
@pytest.mark.storage_class
@pytest.mark.fails_on_aws
@pytest.mark.fails_on_dbstore
@pytest.mark.multipart
def test_object_storage_class_copy_multipart():
_do_test_object_storage_class_copy(_populate_multipart_key, size=9*1024*1024)

Expand Down Expand Up @@ -625,6 +628,7 @@ def _multipart_upload_enc(bucket, s3_key_name, size, part_size=5*1024*1024,

@pytest.mark.encryption
@pytest.mark.fails_on_dbstore
@pytest.mark.multipart
def test_encryption_sse_c_multipart_invalid_chunks_1():
bucket = get_new_bucket()
key = "multipart_enc"
Expand All @@ -649,6 +653,7 @@ def test_encryption_sse_c_multipart_invalid_chunks_1():

@pytest.mark.encryption
@pytest.mark.fails_on_dbstore
@pytest.mark.multipart
def test_encryption_sse_c_multipart_invalid_chunks_2():
bucket = get_new_bucket()
key = "multipart_enc"
Expand Down
Loading

0 comments on commit 65b315b

Please sign in to comment.