]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/standalone/osd/osd-markdown: fix dup command disabling 27499/head
authorSage Weil <sage@redhat.com>
Wed, 10 Apr 2019 21:44:38 +0000 (16:44 -0500)
committerSage Weil <sage@redhat.com>
Wed, 10 Apr 2019 21:44:38 +0000 (16:44 -0500)
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>
qa/standalone/osd/osd-markdown.sh

index 4c4fd767f65abd0c6f091d698faecc3b748feef0..6dc1f883b4e26c773d685e43e3fa7c923428bd4d 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
 }