Whamcloud - gitweb
LU-15552 tests: skip bad result in sanity-flr test_0d 23/54623/3
authorAlexandre Ioffe <aioffe@ddn.com>
Fri, 29 Mar 2024 05:18:55 +0000 (22:18 -0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 15 Apr 2024 16:54:30 +0000 (16:54 +0000)
Ignore bad result of sanity-flr test_0d for MDS version older
than v2_14_57-72-gf468093cb6

Test-Parameters: trivial testlist=sanity-flr env=ONLY=0d
Test-Parameters: trivial testlist=sanity-flr env=ONLY=0d clientversion=2.14
Signed-off-by: Alexandre Ioffe <aioffe@ddn.com>
Change-Id: I0df94eea9fd11ca3f74a7df47b77de1de76c4066
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54623
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/sanity-flr.sh

index bdd29bd..03558df 100644 (file)
@@ -548,7 +548,7 @@ test_0d() {
 
        $mirror_cmd -N $tf-3 &> /dev/null
        rc=$?
-       [[ $rc == 34 ]] ||
+       (( $rc == 34 || $MDS1_VERSION < $(version_code v2_14_57-72-gf468093cb6) )) ||
                error "exceeded maximum mirror count returns $rc not ERANGE(34)"
 }
 run_test 0d "lfs mirror extend with -N option"