Whamcloud - gitweb
LU-6836 test: re-add test 4a to sanity-quota for ZFS 43/34143/4
authorHongchao Zhang <hongchao@whamcloud.com>
Thu, 24 Jan 2019 19:45:05 +0000 (14:45 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 21 Mar 2019 03:42:37 +0000 (03:42 +0000)
The ZFS sync performance has been improved, it's time to add test
4a back into sanity-quota for ZFS, and also increase the grace time
a little for ZFS.

Test-Parameters: trivial
Test-Parameters: envdefinitions=ONLY=4a fstype=zfs testlist=sanity-quota,sanity-quota,sanity-quota

Change-Id: I32dd76686cdd289b49e36efff3abd6691e76ef57
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/34143
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
lustre/tests/sanity-quota.sh

index 2325370..be395ab 100755 (executable)
@@ -52,8 +52,8 @@ fi
 [ "$SLOW" = "no" ] && EXCEPT_SLOW="61"
 
 if [ $(facet_fstype $SINGLEMDS) = "zfs" ]; then
-       # bug number for skipped test: LU-6836
-       ALWAYS_EXCEPT="$ALWAYS_EXCEPT  4a"
+       # bug number for skipped test:
+       ALWAYS_EXCEPT="$ALWAYS_EXCEPT"
 
        # bug number:                        LU-2887
        # Test duration:                     21      9 min"
@@ -985,6 +985,8 @@ test_4a() {
        $LFS setquota -u $TSTUSR -b 0 -B 0 -i $LIMIT -I 0 $DIR ||
                error "set user quota failed"
 
+       [ $(facet_fstype $SINGLEMDS) = "zfs" ] && GRACE=20
+
        test_file_soft $TESTFILE $LIMIT $GRACE
        resetquota -u $TSTUSR