]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/standalone/osd/osd-markdown: fix dup command disabling 27907/head
authorSage Weil <sage@redhat.com>
Wed, 10 Apr 2019 21:44:38 +0000 (16:44 -0500)
committerNathan Cutler <ncutler@suse.com>
Wed, 1 May 2019 15:47:53 +0000 (17:47 +0200)
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 <sage@redhat.com>
(cherry picked from commit f7216d0b2c3a08d0f6e6106e838f84a7af29d396)

qa/standalone/osd/osd-markdown.sh

index f2bfd83a89868fadd2b4e83ac8253e1df20a439a..e01c3798ab5323cc0dbfaf89cc7dfd9872551a0e 100755 (executable)
@@ -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
 }