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>
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()
tests_to_run=()
-sanity_check=true
cleanup=true
while [[ $# -gt 0 ]]; do
"-l" )
do_list=1
;;
- "--no-sanity-check" )
- sanity_check=false
- ;;
"--no-cleanup" )
cleanup=false
;;
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