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
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