From 6cb284c2ed92284454580e6e54e00ddc33530c6e Mon Sep 17 00:00:00 2001 From: Hongchao Zhang Date: Sat, 22 Dec 2018 17:21:22 -0500 Subject: [PATCH] LU-11768 test: reset qsd_time before test In test_6 of sanity-quota, if the qsd_timeout is larger than TIMEOUT*2, it will trigger the watchdog and cause the test fail. Change-Id: I3f2993ce2b88e1520b6907ae134557abcd30aa0c Signed-off-by: Hongchao Zhang Reviewed-on: https://review.whamcloud.com/33931 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Wang Shilong Reviewed-by: Oleg Drokin --- lustre/tests/sanity-quota.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index eab123e..392f21a 100755 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -1175,6 +1175,9 @@ test_6() { #define OBD_FAIL_PTLRPC_DROP_REQ_OPC 0x513 lustre_fail mds 0x513 601 + do_facet ost1 $LCTL set_param \ + osd-*.$FSNAME-OST*.quota_slave.timeout=$((TIMEOUT / 2)) + # write to un-enforced ID ($TSTUSR2) should succeed $RUNAS2 $DD of=$TESTFILE2 count=$LIMIT seek=1 oflag=sync conv=notrunc || error "write failure, expect success" -- 1.8.3.1