Whamcloud - gitweb
LU-11102 test: test fewer files on ZFS system 33/32933/2
authorLai Siyao <lai.siyao@intel.com>
Sun, 22 Jul 2018 01:44:02 +0000 (09:44 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 7 Aug 2018 14:51:39 +0000 (14:51 +0000)
sanity test_415 may be slow on ZFS system, test with use fewer files.

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: Ie21e9e146508b395c8196adac1f6ba3e6854a1ef
Reviewed-on: https://review.whamcloud.com/32933
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/sanity.sh

index e94393a..20958bd 100755 (executable)
@@ -18654,6 +18654,8 @@ test_415() {
        local duration
 
        total=500
+       # this test may be slow on ZFS
+       [ "$(facet_fstype mds1)" == "zfs" ] && total=100
 
        # though this test is designed for striped directory, let's test normal
        # directory too since lock is always saved as CoS lock.