From: Jian Yu Date: Fri, 11 Aug 2023 19:58:27 +0000 (-0700) Subject: LU-16831 tests: add version check to sanity-pfl/0e X-Git-Tag: 2.15.58~59 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=95cfad833af10f4a8880834b0f3dfd2c7349b70b;p=fs%2Flustre-release.git LU-16831 tests: add version check to sanity-pfl/0e This patch adds MDS version check to sanity-pfl test 0e to avoid interop test failure. Test-Parameters: trivial \ serverjob=lustre-b2_15 serverbuildno=67 \ env=ONLY=0e testlist=sanity-pfl Test-Parameters: trivial env=ONLY=0e testlist=sanity-pfl Change-Id: I79df1f36f07f6b376525364708eacc687f85a061 Fixes: a250ecb959a9 ("LU-16831 lfs: limit stripe count for component size") Signed-off-by: Jian Yu Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51930 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Alex Deiter Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity-pfl.sh b/lustre/tests/sanity-pfl.sh index e52a2bc..3c90d1c 100644 --- a/lustre/tests/sanity-pfl.sh +++ b/lustre/tests/sanity-pfl.sh @@ -195,6 +195,9 @@ test_0d() { run_test 0d "Verify comp end and stripe size" test_0e() { + (( $MDS1_VERSION >= $(version_code 2.15.56.112) )) || + skip "Need MDS version at least 2.15.56.112" + (( OSTCOUNT >= 2 )) || skip "needs >= 2 OSTs" local td=$DIR/$tdir