From: Andreas Dilger Date: Sun, 20 Feb 2022 18:07:19 +0000 (-0700) Subject: LU-15060 tests: skip sanity-flr test_208 in interop X-Git-Tag: 2.15.0-RC3~39 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=a62e553443581dcdb4116873e54ab4a6e71d8619;p=fs%2Flustre-release.git LU-15060 tests: skip sanity-flr test_208 in interop Sanity test_208[ab] check a feature that was only landed in 2.14.55. Test-Parameters: trivial serverversion=2.14.0 testlist=sanity-flr env=ONLY=208 Fixes: 8507472dd37e ("LU-14996 lov: prefer mirrors on non-rotational OSTs") Signed-off-by: Andreas Dilger Change-Id: I7735582ed9683d686396c14e2a4e254c648f7546 Reviewed-on: https://review.whamcloud.com/46563 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Alex Zhuravlev Reviewed-by: Alena Nikitenko Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity-flr.sh b/lustre/tests/sanity-flr.sh index c267697..55acb65 100644 --- a/lustre/tests/sanity-flr.sh +++ b/lustre/tests/sanity-flr.sh @@ -3809,7 +3809,9 @@ test_208a() { local tf=$DIR/$tfile local osts=$(comma_list $(osts_nodes)) - (( $OSTCOUNT >= 4 )) || skip_env "needs >= 4 OSTs" + (( $OSTCOUNT >= 4 )) || skip "needs >= 4 OSTs" + (( $MDS1_VERSION >= $(version_code 2.14.55) )) || + skip "Need MDS version at least 2.14.55" local p="$TMP/$TESTSUITE-$TESTNAME.parameters" @@ -3846,7 +3848,9 @@ test_208b() { local tf=$DIR/$tfile local osts=$(comma_list $(osts_nodes)) - (( $OSTCOUNT >= 4 )) || skip_env "needs >= 4 OSTs" + (( $OSTCOUNT >= 4 )) || skip "needs >= 4 OSTs" + (( $MDS1_VERSION >= $(version_code 2.14.55) )) || + skip "Need MDS version at least 2.14.55" local p="$TMP/$TESTSUITE-$TESTNAME.parameters"