Whamcloud - gitweb
LU-14299 test: sleep to enable quota acquire again 18/47618/2
authorHongchao Zhang <hongchao@whamcloud.com>
Fri, 29 Jan 2021 20:51:43 +0000 (04:51 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 27 Feb 2024 05:40:04 +0000 (05:40 +0000)
commitcadc77a9ba5ca428786c6790cc4e3a496efd5488
treef094a9f728ed4f1118c2486085629079a9fc593b
parent70fa032285776eb5ffd444ea7ca6f5d7596e5407
LU-14299 test: sleep to enable quota acquire again

sanity-quota test_61 fails with incorrect quota exceeded
errors because quota acquire will be disabled for 5 seconds
after edquot flag is set.  The test should introduce some
delay between the test of over quota and normal one.

Lustre-change: https://review.whamcloud.com/41389
Lustre-commit: 430e3f01ef2dc83ed317cf2b97be8a2ad50d9f13

Test-Parameters: trivial fstype=zfs testlist=sanity-quota env=ONLY=61,ONLY_REPEAT=20
Fixes: 530881fe4ee20 ("LU-7816 quota: add default quota setting support")
Change-Id: I8040ba960f32cf01cb7cee3a77c06ad4bd732f0e
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Sergey Cheremencev <sergey.cheremencev@hpe.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/47618
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/sanity-quota.sh