]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test: Disable duplicate request command test during scrub testing 25675/head
authorDavid Zafman <dzafman@redhat.com>
Fri, 21 Dec 2018 21:25:10 +0000 (13:25 -0800)
committerDavid Zafman <dzafman@redhat.com>
Sat, 22 Dec 2018 02:28:23 +0000 (18:28 -0800)
Scrub testing requires an orderly control of scrubbing.  Most but not
all the time, the duplicate scrub request is ignored because the first
request hasn't finished.  Teuthology enables this environment variable
in the workunit handling.

Fixes: https://tracker.ceph.com/issues/36525
Signed-off-by: David Zafman <dzafman@redhat.com>
qa/standalone/scrub/osd-recovery-scrub.sh
qa/standalone/scrub/osd-scrub-repair.sh
qa/standalone/scrub/osd-scrub-snaps.sh
qa/standalone/scrub/osd-scrub-test.sh
qa/standalone/scrub/osd-unexpected-clone.sh

index 13a9a4a66752383343d65acefb0e9c9f0a7a1fcc..0e8c432107ae4f946158dbd76d7e7006b13baf04 100755 (executable)
@@ -25,6 +25,7 @@ function run() {
     CEPH_ARGS+="--fsid=$(uuidgen) --auth-supported=none "
     CEPH_ARGS+="--mon-host=$CEPH_MON "
 
+    export -n CEPH_CLI_TEST_DUP_COMMAND
     local funcs=${@:-$(set | sed -n -e 's/^\(TEST_[0-9a-z_]*\) .*/\1/p')}
     for func in $funcs ; do
         $func $dir || return 1
index c4fa169686907e96ff0ab4ef849eed36d76ff33a..0064d11e656e769ae7cc46d6068d0a75fbfdbb12 100755 (executable)
@@ -57,6 +57,7 @@ function run() {
     CEPH_ARGS+="--mon-host=$CEPH_MON "
     CEPH_ARGS+="--osd-skip-data-digest=false "
 
+    export -n CEPH_CLI_TEST_DUP_COMMAND
     local funcs=${@:-$(set | sed -n -e 's/^\(TEST_[0-9a-z_]*\) .*/\1/p')}
     for func in $funcs ; do
         $func $dir || return 1
index 0b7c70e0d1367d64742162c614c5717d16cbc857..dddf603de9f89b0fdfdd7697e64d52429ba24c76 100755 (executable)
@@ -32,6 +32,7 @@ function run() {
     CEPH_ARGS+="--fsid=$(uuidgen) --auth-supported=none "
     CEPH_ARGS+="--mon-host=$CEPH_MON "
 
+    export -n CEPH_CLI_TEST_DUP_COMMAND
     local funcs=${@:-$(set | sed -n -e 's/^\(TEST_[0-9a-z_]*\) .*/\1/p')}
     for func in $funcs ; do
         setup $dir || return 1
index b73906af958c1aeefd742f4d0eea5933e7b4038e..09a2cb111425d03e1d11e33523d94da66cec5393 100755 (executable)
@@ -25,6 +25,7 @@ function run() {
     CEPH_ARGS+="--fsid=$(uuidgen) --auth-supported=none "
     CEPH_ARGS+="--mon-host=$CEPH_MON "
 
+    export -n CEPH_CLI_TEST_DUP_COMMAND
     local funcs=${@:-$(set | sed -n -e 's/^\(TEST_[0-9a-z_]*\) .*/\1/p')}
     for func in $funcs ; do
         $func $dir || return 1
index 552644048b7d72d7b16f09de4c29383a57c85a20..6895bfee61f275a1f8395fbcd0ed51bf0bd90d51 100755 (executable)
@@ -27,6 +27,7 @@ function run() {
     CEPH_ARGS+="--fsid=$(uuidgen) --auth-supported=none "
     CEPH_ARGS+="--mon-host=$CEPH_MON "
 
+    export -n CEPH_CLI_TEST_DUP_COMMAND
     local funcs=${@:-$(set | sed -n -e 's/^\(TEST_[0-9a-z_]*\) .*/\1/p')}
     for func in $funcs ; do
         setup $dir || return 1