From f29e0f140ac720ea91f43335bd33185aee13026c Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 10 Apr 2019 16:44:38 -0500 Subject: [PATCH] qa/standalone/osd/osd-markdown: fix dup command disabling The ceph cli tool checks for the presence of the variable, not its value. Fixes: http://tracker.ceph.com/issues/38359 Signed-off-by: Sage Weil (cherry picked from commit f7216d0b2c3a08d0f6e6106e838f84a7af29d396) --- qa/standalone/osd/osd-markdown.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/standalone/osd/osd-markdown.sh b/qa/standalone/osd/osd-markdown.sh index 4c4fd767f65ab..6dc1f883b4e26 100755 --- a/qa/standalone/osd/osd-markdown.sh +++ b/qa/standalone/osd/osd-markdown.sh @@ -48,7 +48,7 @@ function markdown_N_impl() { # override any dup setting in the environment to ensure we do this # exactly once (modulo messenger failures, at least; we can't *actually* # provide exactly-once semantics for mon commands). - CEPH_CLI_TEST_DUP_COMMAND=0 ceph osd down 0 + ( unset CEPH_CLI_TEST_DUP_COMMAND ; ceph osd down 0 ) sleep $sleeptime done } -- 2.39.5