Whamcloud - gitweb
LU-11889 tests: disable sanity/156 for ZFS OST 14/34114/3
authorAlex Zhuravlev <bzzz@whamcloud.com>
Sun, 27 Jan 2019 05:15:25 +0000 (08:15 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 27 Jan 2019 19:05:38 +0000 (19:05 +0000)
disable sanity/156 with ZFS OST as osd-zfs doesn't
maintain cache hit/miss stats yet.

Test-Parameters: trivial

Change-Id: I34eac3dcc49962ead0c0d6b17d8d605036872f4f
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/34114
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/sanity.sh

index 92c01ac..c0a3eb4 100755 (executable)
@@ -12020,8 +12020,9 @@ run_test 155h "Verify big file correctness: read cache:off write_cache:off"
 test_156() {
        [ $PARALLEL == "yes" ] && skip "skip parallel run"
        remote_ost_nodsh && skip "remote OST with nodsh"
-       [ "$ost1_FSTYPE" = "zfs" -a \
-          $OST1_VERSION -lt $(version_code 2.6.93) ] &&
+       [ $OST1_VERSION -lt $(version_code 2.6.93) ] &&
+               skip "stats not implemented on old servers"
+       [ "$ost1_FSTYPE" = "zfs" ] &&
                skip "LU-1956/LU-2261: stats not implemented on OSD ZFS"
 
        local CPAGES=3