rgw/logging: basic set of tests for bucket logging

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
This commit is contained in:
Yuval Lifshitz 2024-08-08 18:00:01 +00:00
parent d245097771
commit 10d46f4e33
3 changed files with 1162 additions and 18 deletions

View file

@ -100,3 +100,17 @@ You can filter tests based on their attributes::
S3TEST_CONF=your.conf tox -- s3tests_boto3/functional/test_iam.py -m 'not fails_on_rgw'
========================
Bucket logging tests
========================
Ceph has extensions for the bucket logging S3 API. For the tests to cover these extensions, the following file: `examples/rgw/boto3/service-2.sdk-extras.json` from the Ceph repo,
should be copied to the: `~/.aws/models/s3/2006-03-01/` directory on the machine where the tests are run.
If the file is not present, the tests will still run, but the extension tests will be skipped. In this case, the bucket logging object roll time must be decreased manually from its default of
300 seconds to 5 seconds::
vstart.sh -o rgw_bucket_log_object_roll_time=5
Then the tests can be run with::
S3TEST_CONF=your.conf tox -- -m 'bucket_logging'

View file

@ -7,6 +7,7 @@ markers =
auth_common
bucket_policy
bucket_encryption
bucket_logging
checksum
cloud_transition
encryption

File diff suppressed because it is too large Load diff