From fa78155704a9a18dac935995204858c4aa8632fd Mon Sep 17 00:00:00 2001 From: Niu Yawei Date: Fri, 7 Feb 2014 07:13:51 -0500 Subject: [PATCH] LU-4598 quota: fix s-q test_30 After LU-4139 landed, the block grace time isn't accurate as before, the s-q test_30 should now write more bytes to make sure the spare quota allocated on slave be used up. Signed-off-by: Niu Yawei Change-Id: Iee14721051b9e41074a13f11afb11a7b286352c2 Reviewed-on: http://review.whamcloud.com/9177 Tested-by: Jenkins Reviewed-by: Fan Yong Tested-by: Maloo Reviewed-by: Johann Lombardi --- lustre/tests/sanity-quota.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index 4bc5bab..dd82d99 100644 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -2062,11 +2062,11 @@ test_30() { # over-quota flag has not yet settled since we do not trigger async # events based on grace time period expiration $SHOW_QUOTA_USER - $RUNAS $DD of=$TESTFILE conv=notrunc oflag=append count=1 || true + $RUNAS $DD of=$TESTFILE conv=notrunc oflag=append count=4 || true cancel_lru_locks osc # now over-quota flag should be settled and further writes should fail $SHOW_QUOTA_USER - $RUNAS $DD of=$TESTFILE conv=notrunc oflag=append count=1 && + $RUNAS $DD of=$TESTFILE conv=notrunc oflag=append count=4 && error "grace times were reset" # cleanup cleanup_quota_test -- 1.8.3.1