]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/commitdiff
rgw/logging: test part upload in mpu in standard mode 650/head
authorYuval Lifshitz <ylifshit@ibm.com>
Tue, 13 May 2025 16:48:35 +0000 (16:48 +0000)
committerYuval Lifshitz <ylifshit@ibm.com>
Tue, 13 May 2025 16:48:35 +0000 (16:48 +0000)
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
s3tests_boto3/functional/test_s3.py

index c91ab8b9d4d5ee6ceb9466d34e561375ba74c386..2e8d89278959980af6e8be3c35a9247a3e78f8d1 100644 (file)
@@ -16363,6 +16363,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