From: Yuval Lifshitz Date: Tue, 13 May 2025 16:48:35 +0000 (+0000) Subject: rgw/logging: test part upload in mpu in standard mode X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b969c8509e31cd6188ec032780391ef0b0697181;p=s3-tests.git rgw/logging: test part upload in mpu in standard mode Signed-off-by: Yuval Lifshitz (cherry picked from commit ea7930fd6dda0539457a4b737ab26dffc6bcae75) --- diff --git a/s3tests_boto3/functional/test_s3.py b/s3tests_boto3/functional/test_s3.py index 52e2b0b0..9d76b9af 100644 --- a/s3tests_boto3/functional/test_s3.py +++ b/s3tests_boto3/functional/test_s3.py @@ -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