From: James Nunez Date: Wed, 20 Nov 2019 22:03:11 +0000 (-0700) Subject: LU-12982 tests: skip conf-sanity 5i for old servers X-Git-Tag: 2.14.53~86 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=fee87077d83436005d6bef1c5c9673877ac4d7c1;p=fs%2Flustre-release.git LU-12982 tests: skip conf-sanity 5i for old servers conf-sanity tests 5i was added to lustre-master with version 2.12.54. For all version interop testing with Lustre servers with version less than 2.12.54 and newer clients, conf-sanity test 5i will fail and should be skipped. Fixes: d1b5146eda4f (LU-12206 mdt: mdt_init0 failure handling) Test-Parameters: trivial Test-Parameters: serverversion=2.12.6 serverdistro=el7.9 fstype=ldiskfs env=ONLY=5 testlist=conf-sanity Signed-off-by: James Nunez Change-Id: Ia493b6f80b42fbd92254150e8d40a6fbb1039635 Reviewed-on: https://review.whamcloud.com/36811 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Wei Liu Reviewed-by: Vikentsi Lapa Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index fdc7e31..ed38515 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -530,6 +530,9 @@ test_5h() { run_test 5h "start mdt failure at mdt_fs_setup()" test_5i() { + (( $MDS1_VERSION >= $(version_code 2.12.54) )) || + skip "Need MDS version at least 2.12.54" + setup stop mds1