]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/commitdiff
rgw/logging: test part upload in mpu in standard mode
authorYuval Lifshitz <ylifshit@ibm.com>
Tue, 13 May 2025 16:48:35 +0000 (16:48 +0000)
committerYuval Lifshitz <ylifshit@ibm.com>
Mon, 30 Jun 2025 14:18:28 +0000 (14:18 +0000)
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
(cherry picked from commit ea7930fd6dda0539457a4b737ab26dffc6bcae75)

s3tests_boto3/functional/test_s3.py

index 52e2b0b0f9c28ac80b56043263af5e5234140d8a..9d76b9afbfcb98a2276c7432f6efe6ae0b6404fc 100644 (file)
@@ -16546,6 +16546,12 @@ def _bucket_logging_mpu(versioned, record_type):
     response = client.get_object(Bucket=log_bucket_name, Key=key)
     body = _get_body(response)
     assert _verify_records(body, src_bucket_name, 'REST.POST.UPLOAD', [src_key, src_key], record_type, expected_count)
+    if record_type == 'Standard':
+        if versioned:
+            expected_count = 12
+        else:
+            expected_count = 6
+        assert _verify_records(body, src_bucket_name, 'REST.PUT.PART', [src_key, src_key], record_type, expected_count)
 
 
 @pytest.mark.bucket_logging