mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-23 03:38:41 +00:00
rgw:modify testcase rgw header when bucket quota or user is disabled
By default quota is disable at user/bucket level. if quota is disable then these value will not return so need to modify test_head_bucket_usages 'X-RGW-Quota-User-Size' 'X-RGW-Quota-User-Objects' 'X-RGW-Quota-Bucket-Size' 'X-RGW-Quota-Bucket-Objects' to Fix: https://tracker.ceph.com/issues/68211 Signed-off-by: Raja Sharma raja@ibm.com
This commit is contained in:
parent
d245097771
commit
2aea98e604
1 changed files with 0 additions and 4 deletions
|
@ -1107,11 +1107,7 @@ def test_head_bucket_usage():
|
|||
hdrs = http_response['headers']
|
||||
assert hdrs['X-RGW-Object-Count'] == '1'
|
||||
assert hdrs['X-RGW-Bytes-Used'] == '3'
|
||||
assert hdrs['X-RGW-Quota-User-Size'] == '-1'
|
||||
assert hdrs['X-RGW-Quota-User-Objects'] == '-1'
|
||||
assert hdrs['X-RGW-Quota-Max-Buckets'] == '1000'
|
||||
assert hdrs['X-RGW-Quota-Bucket-Size'] == '-1'
|
||||
assert hdrs['X-RGW-Quota-Bucket-Objects'] == '-1'
|
||||
|
||||
@pytest.mark.fails_on_aws
|
||||
@pytest.mark.fails_on_dbstore
|
||||
|
|
Loading…
Reference in a new issue