From b15513fc7cc06da2164b67cec9c7bb1c55d1785b Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 16 Jul 2013 17:15:55 -0700 Subject: [PATCH] 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. --- teuthology/task/workunit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/teuthology/task/workunit.py b/teuthology/task/workunit.py index 8d96b90270e6e..04ebb2aa33281 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_)), -- 2.39.5