Merge pull request #603 from ArbitCode/wip-raja-rgw-test-fix-68211

rgw:modify testcase rgw header when bucket  or user quota is disabled
This commit is contained in:
Casey Bodley 2024-11-25 10:27:12 -05:00 committed by GitHub
commit 7c53738f0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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