From 0ec4e10ce1aa60ddbc55fb1e8026856a685e8d43 Mon Sep 17 00:00:00 2001 From: Alexandre Ioffe Date: Thu, 28 Mar 2024 22:18:55 -0700 Subject: [PATCH] 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 --- lustre/tests/sanity-flr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 1.8.3.1