Whamcloud - gitweb
LU-14322 tests: skip sanityn 51e for old servers 69/43969/3
authorJames Nunez <jnunez@whamcloud.com>
Thu, 10 Jun 2021 18:54:51 +0000 (12:54 -0600)
committerOleg Drokin <green@whamcloud.com>
Wed, 30 Jun 2021 03:17:18 +0000 (03:17 +0000)
sanityn test 51e was added to Lustre version
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

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 <jnunez@whamcloud.com>
Change-Id: Id2f165b275c97c3a1396a0da18a3f254dbe5efa7
Reviewed-on: https://review.whamcloud.com/43969
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
Reviewed-by: Vikentsi Lapa <vlapa@whamcloud.com>

index 6e37031..752f917 100755 (executable)
@@ -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 )) ||
+               skip "MDS version must be at least"
        local pid
        $MULTIOP $DIR/$tfile oO_CREAT:O_RDWR:eW_E+eUc &