From: yangsheng Date: Thu, 10 Jan 2013 13:15:39 +0000 (+0800) Subject: LU-2558 test: recovery-small 19a FAIL no eviction X-Git-Tag: 2.3.60~30 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=49c61548c35d67f34120fd64916a55fd20a6ab68 LU-2558 test: recovery-small 19a FAIL no eviction Use stat instead of mcreate since latter cannot ensure enqueue a lock. Signed-off-by: yang sheng Change-Id: Ifb63f679305e707df64457c4de599ca1b5fb0f00 Reviewed-on: http://review.whamcloud.com/4987 Reviewed-by: Fan Yong Reviewed-by: Jian Yu Tested-by: Hudson Reviewed-by: Lai Siyao Tested-by: Maloo Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/recovery-small.sh b/lustre/tests/recovery-small.sh index b44ce10..6c2ddd0 100755 --- a/lustre/tests/recovery-small.sh +++ b/lustre/tests/recovery-small.sh @@ -411,11 +411,10 @@ test_19a() { mount_client $DIR2 - do_facet client mcreate $DIR/$tfile || return 1 + do_facet client "stat $DIR > /dev/null" || return 1 drop_ldlm_cancel "chmod 0777 $DIR2" umount_client $DIR2 - do_facet client "munlink $DIR/$tfile" # let the client reconnect client_reconnect