From: Sage Weil Date: Wed, 17 Jul 2013 00:15:55 +0000 (-0700) Subject: workunit: set CEPH_CLI_TEST_DUP_COMMAND X-Git-Tag: 1.1.0~2080^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=b15513fc7cc06da2164b67cec9c7bb1c55d1785b;p=teuthology.git 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. --- diff --git a/teuthology/task/workunit.py b/teuthology/task/workunit.py index 8d96b90270..04ebb2aa33 100644 --- a/teuthology/task/workunit.py +++ b/teuthology/task/workunit.py @@ -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_)),