Whamcloud - gitweb
LU-12031 tests: update interop version checks
authorAndreas Dilger <adilger@whamcloud.com>
Mon, 22 Jan 2024 16:40:20 +0000 (16:40 +0000)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 23 Jan 2024 02:03:59 +0000 (02:03 +0000)
Update the version check in sanity test_270j and
sanity-hsm test_1f to match actual landing version.

Change-Id: Ifd6d5dec50e3fcbb7ebe77ab41335a6c3994ef57
Test-Parameters: trivial
Fixes: 3bccd95ca2 ("LU-12031 mdt: explicit data version of DoM files")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53762
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/sanity-hsm.sh
lustre/tests/sanity.sh

index 2f05dbf..4f92f99 100755 (executable)
@@ -734,8 +734,8 @@ test_1e() {
 run_test 1e "Archive, Release and Restore SEL file"
 
 test_1f() {
-       (( $MDS1_VERSION >= $(version_code 2.14.0.116) )) ||
-               skip "need MDS version at least 2.14.0.116"
+       (( $MDS1_VERSION >= $(version_code 2.14.0.126) )) ||
+               skip "need MDS version at least 2.14.0.126"
        local dom=$DIR/$tdir/$tfile
 
        mkdir_on_mdt0 $DIR/$tdir
index 60a224a..5dfbaa2 100755 (executable)
@@ -23349,8 +23349,8 @@ test_270i() {
 run_test 270i "DoM: setting invalid DoM striping should fail"
 
 test_270j() {
-       (( $MDS1_VERSION >= $(version_code 2.14.0.116) )) ||
-               skip "Need MDS version at least 2.14.0.116"
+       (( $MDS1_VERSION >= $(version_code 2.14.0.126) )) ||
+               skip "Need MDS version at least 2.14.0.126"
 
        local dom=$DIR/$tdir/$tfile
        local odv