Whamcloud - gitweb
LU-13716 tests: skip sanity 205b for older servers 93/43993/2
authorJames Nunez <jnunez@whamcloud.com>
Sat, 12 Jun 2021 00:05:08 +0000 (18:05 -0600)
committerOleg Drokin <green@whamcloud.com>
Wed, 30 Jun 2021 03:17:33 +0000 (03:17 +0000)
Lustre job stats and sanity test 205b were modified in Lustre
version  When we run version intop testing with
servers less than this version and clients that are greater,
the test will fail.

Skip sanity test 205b for Lustre servers with version less than and client greater than that version.

Test-Parameters: trivial
Test-Parameters: serverdistro=el7.9 serverversion=2.12.6 env=ONLY=205 testlist=sanity
Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: Icc5d6a6adcf03e5bd16b678596f28590fe31516e
Reviewed-on: https://review.whamcloud.com/43993
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
Reviewed-by: Vikentsi Lapa <vlapa@whamcloud.com>

index 558373a..579f2bd 100755 (executable)
@@ -17878,6 +17878,9 @@ run_test 205a "Verify job stats"
 # LU-13117, LU-13597
 test_205b() {
+       (( $MDS1_VERSION >= $(version_code )) ||
+               skip "Need MDS version at least"
        $LCTL set_param $job_stats=clear
        # Setting jobid_var to USER might not be supported