Whamcloud - gitweb
LU-13824 test: test sanity 230q with fewer files on ZFS 28/39528/4
authorLai Siyao <lai.siyao@whamcloud.com>
Tue, 28 Jul 2020 13:44:09 +0000 (21:44 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 29 Oct 2020 04:30:26 +0000 (04:30 +0000)
Sanity 230q may timeout on ZFS backend, test with fewer files.

Test-Parameters: trivial fstype=zfs testlist=sanity mdscount=2 mdtcount=4 env=ONLY=230q,ONLY_REPEAT=100
Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: Iaf9e4e6d68244937819305af72df33e59df19f1f
Reviewed-on: https://review.whamcloud.com/39528
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh

index 78fa3ed..7ca9728 100755 (executable)
@@ -18398,6 +18398,9 @@ test_230q() {
        local stripe_index
        local nr_files
 
+       # test with fewer files on ZFS
+       [ "$mds1_FSTYPE" == "zfs" ] && threshold=40
+
        stack_trap "do_nodes $mdts $LCTL set_param \
                    mdt.*.dir_split_count=$saved_threshold"
        stack_trap "do_nodes $mdts $LCTL set_param \