From: Hongchao Zhang Date: Sat, 22 Dec 2018 22:21:22 +0000 (-0500) Subject: LU-11768 test: reset qsd_time before test X-Git-Tag: 2.12.52~42 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F31%2F33931%2F2;p=fs%2Flustre-release.git 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 --- 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"