From: James Nunez Date: Thu, 10 Jun 2021 18:54:51 +0000 (-0600) Subject: LU-14322 tests: skip sanityn 51e for old servers X-Git-Tag: 2.14.53~82 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=decdd03cdccdbfdd35f31317c617698198e5ea42;p=fs%2Flustre-release.git LU-14322 tests: skip sanityn 51e for old servers sanityn test 51e was added to Lustre version 2.13.54.148. When we run version interop testing with servers less than this version, the test will fail. We should skip sanityn test 51e if the server version is less than 2.13.54.148. Fixes: 3ea729fe82 ("LU-13693 lfs: check early for MDS_OPEN_DIRECTORY") Test-Parameters: trivial Test-Parameters: serverversion=2.12.6 serverdistro=el7.9 env=ONLY=51e testlist=sanityn Signed-off-by: James Nunez Change-Id: Id2f165b275c97c3a1396a0da18a3f254dbe5efa7 Reviewed-on: https://review.whamcloud.com/43969 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Wei Liu Reviewed-by: Vikentsi Lapa --- diff --git a/lustre/tests/sanityn.sh b/lustre/tests/sanityn.sh index 6e37031..752f917 100755 --- a/lustre/tests/sanityn.sh +++ b/lustre/tests/sanityn.sh @@ -3198,6 +3198,9 @@ test_51d() { run_test 51d "layout lock: losing layout lock should clean up memory map region" test_51e() { + (( $MDS1_VERSION >= $(version_code 2.13.54.148) )) || + skip "MDS version must be at least 2.13.54.148" + local pid $MULTIOP $DIR/$tfile oO_CREAT:O_RDWR:eW_E+eUc &