From: Alexandre Ioffe Date: Fri, 29 Mar 2024 05:18:55 +0000 (-0700) Subject: LU-15552 tests: skip bad result in sanity-flr test_0d X-Git-Tag: 2.15.63~73 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=0ec4e10ce1aa60ddbc55fb1e8026856a685e8d43 LU-15552 tests: skip bad result in sanity-flr test_0d Ignore bad result of sanity-flr test_0d for MDS version older than v2_14_57-72-gf468093cb6 Test-Parameters: trivial testlist=sanity-flr env=ONLY=0d Test-Parameters: trivial testlist=sanity-flr env=ONLY=0d clientversion=2.14 Signed-off-by: Alexandre Ioffe Change-Id: I0df94eea9fd11ca3f74a7df47b77de1de76c4066 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54623 Reviewed-by: Andreas Dilger Reviewed-by: Jian Yu Reviewed-by: Oleg Drokin Tested-by: jenkins Tested-by: Maloo --- diff --git a/lustre/tests/sanity-flr.sh b/lustre/tests/sanity-flr.sh index bdd29bd..03558df 100644 --- a/lustre/tests/sanity-flr.sh +++ b/lustre/tests/sanity-flr.sh @@ -548,7 +548,7 @@ test_0d() { $mirror_cmd -N $tf-3 &> /dev/null rc=$? - [[ $rc == 34 ]] || + (( $rc == 34 || $MDS1_VERSION < $(version_code v2_14_57-72-gf468093cb6) )) || error "exceeded maximum mirror count returns $rc not ERANGE(34)" } run_test 0d "lfs mirror extend with -N option"