X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fsanity-flr.sh;h=33732e3ad82c343a745a75c8509124c989ed22e4;hb=refs%2Fchanges%2F85%2F34985%2F2;hp=fb94b57b148956aae97516ed4cb0ba4579f658a8;hpb=cfe9e1a56c696bcbba24dd4041845ead12aba291;p=fs%2Flustre-release.git diff --git a/lustre/tests/sanity-flr.sh b/lustre/tests/sanity-flr.sh index fb94b57b..33732e3 100644 --- a/lustre/tests/sanity-flr.sh +++ b/lustre/tests/sanity-flr.sh @@ -1064,10 +1064,8 @@ test_33() { start_osts 1 # read file again with ost2 failed - $LCTL set_param ldlm.namespaces.lustre-*-osc-[-0-9a-f]*.lru_size=clear - - fail ost2 & - sleep 1 + stop_osts 2 + drop_client_cache # check size, glimpse should work $CHECKSTAT -t file -s $fsize $DIR/$tfile || @@ -1078,7 +1076,7 @@ test_33() { [[ "$rs" == "ost1" ]] || error "file content error: expected: \"ost1\", actual: \"$rs\"" - wait_osc_import_ready client ost2 + start_osts 2 } run_test 33 "read can choose available mirror to read"