]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rbd: remove sanity check in journal.sh test 20490/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 19 Feb 2018 19:47:46 +0000 (14:47 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 19 Feb 2018 20:21:46 +0000 (15:21 -0500)
When the OSDs are being concurrently thrashed, this can result in
sporadic failures due to the admin socket disappearing.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
qa/workunits/rbd/journal.sh

index 157e7ad8af57caaaf5d802a44dab7746b1646c87..d35ea189a8404f4f9281dd56f3282f7f779600b8 100755 (executable)
@@ -13,7 +13,7 @@ function list_tests()
 
 function usage()
 {
-  echo "usage: $0 [-h|-l|-t <testname> [-t <testname>...] [--no-sanity-check] [--no-cleanup]]"
+  echo "usage: $0 [-h|-l|-t <testname> [-t <testname>...] [--no-cleanup]]"
 }
 
 function expect_false()
@@ -273,7 +273,6 @@ TESTS+=" rbd_feature"
 
 tests_to_run=()
 
-sanity_check=true
 cleanup=true
 
 while [[ $# -gt 0 ]]; do
@@ -283,9 +282,6 @@ while [[ $# -gt 0 ]]; do
        "-l" )
            do_list=1
            ;;
-       "--no-sanity-check" )
-           sanity_check=false
-           ;;
        "--no-cleanup" )
            cleanup=false
            ;;
@@ -322,15 +318,9 @@ if test -z "$tests_to_run" ; then
 fi
 
 for i in $tests_to_run; do
-    if $sanity_check ; then
-       wait_for_clean
-    fi
     set -x
     test_${i}
     set +x
 done
-if $sanity_check ; then
-    wait_for_clean
-fi
 
 echo OK