mirror of
https://github.com/ceph/ceph
synced 2025-04-01 23:02:17 +00:00
workunit: set CEPH_CLI_TEST_DUP_COMMAND
This will make the CLI do every mon command twice and make sure they both succeed. This catches problems with mon command idempotency faster than waiting for random failures trigger.
This commit is contained in:
parent
51352677ab
commit
b15513fc7c
@ -276,6 +276,7 @@ def _run_tests(ctx, refspec, role, tests, env, subdir=None):
|
||||
run.Raw('&&'),
|
||||
'cd', '--', scratch_tmp,
|
||||
run.Raw('&&'),
|
||||
run.Raw('CEPH_CLI_TEST_DUP_COMMAND=1'),
|
||||
run.Raw('CEPH_REF={ref}'.format(ref=refspec)),
|
||||
run.Raw('TESTDIR="{tdir}"'.format(tdir=testdir)),
|
||||
run.Raw('CEPH_ID="{id}"'.format(id=id_)),
|
||||
|
Loading…
Reference in New Issue
Block a user