Merge pull request #576 from yuvalif/wip-yuval-bucket-logging

rgw/logging: basic set of tests for bucket logging
This commit is contained in:
Casey Bodley 2024-12-10 11:07:44 -05:00 committed by GitHub
commit 74188c64ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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