From 3e4c3fdc9afea80832569b6466fba7c3bec0ebe3 Mon Sep 17 00:00:00 2001 From: Hongchao Zhang Date: Thu, 24 Jan 2019 14:45:05 -0500 Subject: [PATCH] LU-6836 test: re-add test 4a to sanity-quota for ZFS 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 Reviewed-on: https://review.whamcloud.com/34143 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Wang Shilong Reviewed-by: James Nunez --- lustre/tests/sanity-quota.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index 2325370..be395ab 100755 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -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 -- 1.8.3.1