From: Elena Gryaznova Date: Wed, 14 Jan 2015 23:21:21 +0000 (+0400) Subject: LU-6126 test: skip sanity test_187a, test_187b on old MDS X-Git-Tag: 2.7.58~28 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=758d7909741cdfc954ff0b0dba5fc2799b8c6be6;ds=inline LU-6126 test: skip sanity test_187a, test_187b on old MDS Don't run sanity test_187a, test_187b in interop mode for MDS's versions older than 2.3.0 (per file data_version implementation was included in 2.3, LU-827). Signed-off-by: Elena Gryaznova Xyratex-bug-id: MRP-1826 Reviewed-by: Vladimir Saveliev Change-Id: I6d42b51c769be80486c84fe436f6f3f71616e1cb Reviewed-on: http://review.whamcloud.com/13408 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Jian Yu Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 4ea2ade..9a4d231 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -11304,6 +11304,10 @@ test_185() { # LU-2441 run_test 185 "Volatile file support" test_187a() { + remote_mds_nodsh && skip "remote MDS with nodsh" && return + [ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.3.0) ] && + skip "Need MDS version at least 2.3.0" && return + local dir0=$DIR/$tdir/$testnum mkdir -p $dir0 || error "creating dir $dir0" @@ -11321,6 +11325,10 @@ test_187a() { run_test 187a "Test data version change" test_187b() { + remote_mds_nodsh && skip "remote MDS with nodsh" && return + [ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.3.0) ] && + skip "Need MDS version at least 2.3.0" && return + local dir0=$DIR/$tdir/$testnum mkdir -p $dir0 || error "creating dir $dir0"