qa/rgw: run sse-s3 test cases conditionally

Signed-off-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
Casey Bodley 2021-12-15 16:15:10 -05:00
parent 1b679e0828
commit 4e644832b0
2 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,8 @@ overrides:
rgw:
client.0:
use-vault-role: client.0
s3tests:
with-sse-s3: true
tasks:
- vault:

View File

@ -424,6 +424,8 @@ def run_tests(ctx, config):
attrs = ["!fails_on_rgw", "!lifecycle_expiration", "!fails_strict_rfc2616","!test_of_sts","!webidentity_test"]
if client_config.get('calling-format') != 'ordinary':
attrs += ['!fails_with_subdomain']
if not client_config.get('with-sse-s3'):
attrs += ['!sse-s3']
if 'extra_attrs' in client_config:
attrs = client_config.get('extra_attrs')