From 51303ce73c968e1ecc95d0ca250a0db3e2a1afd4 Mon Sep 17 00:00:00 2001 From: Bobi Jam Date: Mon, 12 Aug 2024 13:05:29 +0800 Subject: [PATCH] LU-18042 tests: skip old server test for sanity-flr/0k Mirror extend a non-mirrored file in a directory with default FLR layout needs server support, so this patch adds server version checking to skip unsupported servers for sanity-flr/0k. Test-Parameters: trivial Fixes: 8005a374ca ("LU-15486 lod: mirroring plain file in mirrored-layout dir") Signed-off-by: Bobi Jam Change-Id: Id5ea10d654af3927c5aaffab17f15990694e9ed3 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55996 Reviewed-by: Andreas Dilger Reviewed-by: Oleg Drokin Reviewed-by: Li Xi Tested-by: jenkins Tested-by: Maloo --- lustre/tests/sanity-flr.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/tests/sanity-flr.sh b/lustre/tests/sanity-flr.sh index 16dda47..25fb61d 100644 --- a/lustre/tests/sanity-flr.sh +++ b/lustre/tests/sanity-flr.sh @@ -851,6 +851,8 @@ test_0j() { run_test 0j "test lfs mirror read/write commands" test_0k() { + (( $MDS1_VERSION >= $(version_code 2.15.6) )) || + skip "MDS version older than 2.15.6" [[ $OSTCOUNT -lt 3 ]] && skip "need >= 3 OSTs" && return mkdir $DIR/$tdir -- 1.8.3.1