mirror of
https://github.com/ceph/s3-tests.git
synced 2025-01-20 05:08:20 +00:00
Merge pull request #576 from yuvalif/wip-yuval-bucket-logging
rgw/logging: basic set of tests for bucket logging
This commit is contained in:
commit
74188c64ba
3 changed files with 1162 additions and 18 deletions
14
README.rst
14
README.rst
|
@ -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'
|
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'
|
||||||
|
|
|
@ -7,6 +7,7 @@ markers =
|
||||||
auth_common
|
auth_common
|
||||||
bucket_policy
|
bucket_policy
|
||||||
bucket_encryption
|
bucket_encryption
|
||||||
|
bucket_logging
|
||||||
checksum
|
checksum
|
||||||
cloud_transition
|
cloud_transition
|
||||||
encryption
|
encryption
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue