diff --git a/rgw/v2/tests/s3cmd/configs/test_get_s3cmd_tertiary.yaml b/rgw/v2/tests/s3cmd/configs/test_get_s3cmd_tertiary.yaml new file mode 100644 index 000000000..4b5a09bb7 --- /dev/null +++ b/rgw/v2/tests/s3cmd/configs/test_get_s3cmd_tertiary.yaml @@ -0,0 +1,9 @@ +# script: ceph-qe-scripts/rgw/v2/tests/s3cmd/test_s3cmd.py +# polarian id: CEPH-83575477 +config: + user_count: 1 + bucket_count: 2 + objects_count: 100 + test_ops: + s3cmd_get_objects: true + is_not_master_zone: true diff --git a/rgw/v2/tests/s3cmd/test_s3cmd.py b/rgw/v2/tests/s3cmd/test_s3cmd.py index f7e3987e5..fc8c67ce6 100644 --- a/rgw/v2/tests/s3cmd/test_s3cmd.py +++ b/rgw/v2/tests/s3cmd/test_s3cmd.py @@ -20,7 +20,6 @@ Verification of CEPH-83574806: multiple delete marker not created during object deletion in versioned bucket through s3cmd """ - import argparse import datetime import json @@ -406,6 +405,9 @@ def test_exec(config, ssh_con): else: log.info("bucket list is empty as expected") + elif config.test_ops.get("is_not_master_zone", False): + log.info("This is not the master zone. Skipping tenant user creation.") + else: user_name = resource_op.create_users(no_of_users_to_create=1)[0]["user_id"] tenant = "tenant"