mirror of
https://github.com/ceph/ceph
synced 2024-12-28 06:23:08 +00:00
qa/s3tests: clean up extra_attrs and extra_args logic
Signed-off-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
parent
1c006c92e1
commit
1e65b50f60
@ -384,11 +384,9 @@ def run_tests(ctx, config):
|
||||
if not client_config.get('with-sse-s3'):
|
||||
attrs += ['not sse_s3']
|
||||
|
||||
if 'extra_attrs' in client_config:
|
||||
attrs += client_config.get('extra_attrs')
|
||||
attrs += client_config.get('extra_attrs', [])
|
||||
args += ['tox', '--', '-v', '-m', ' and '.join(attrs)]
|
||||
if 'extra_args' in client_config:
|
||||
args.append(client_config['extra_args'])
|
||||
args += client_config.get('extra_args', [])
|
||||
|
||||
toxvenv_sh(ctx, remote, args, label="s3 tests against rgw")
|
||||
yield
|
||||
|
Loading…
Reference in New Issue
Block a user