Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test for https://github.com/ceph/ceph/pull/17934 #189

Merged
merged 1 commit into from Oct 26, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 15 additions & 0 deletions s3tests/functional/test_s3.py
Expand Up @@ -894,6 +894,21 @@ def test_bucket_list_return_data_versioning():
eq(key.version_id, key_data['version_id'])


@attr(resource='bucket')
@attr(method='get')
@attr(operation='list keys after marker when bucket versioning is configured')
@attr(assertion='marker list on versioning bucket')
def test_bucket_list_marker_versioning():
bucket = get_new_bucket()
check_configure_versioning_retry(bucket, True, "Enabled")
key_names = ['bar', 'baz', 'foo']
bucket = _create_keys(bucket=bucket, keys=key_names)
li = bucket.get_all_keys(marker='baz')
eq(li.marker, 'baz')
names = [e.name for e in li]
eq(names, ['foo'])


@attr(resource='object.metadata')
@attr(method='head')
@attr(operation='modification-times')
Expand Down