Whamcloud - gitweb
LU-18191 tests: sanity-quota 90b racer fix 32/56532/4
authorFrederick Dilger <fdilger@whamcloud.com>
Sat, 28 Sep 2024 21:01:30 +0000 (15:01 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 4 Oct 2024 00:16:40 +0000 (00:16 +0000)
commit71994fa608ae9641d471cbb8cf1ce487a9f761b6
tree06395870a2025c0e14c801ba126c33c33bc8b71e
parentc81f140168964db07a30b7102efffc4dfe5b6c5e
LU-18191 tests: sanity-quota 90b racer fix

It looks like there was a small race condition in the test. There was
one block of root user usage that would be freed since the start of
the test.

Now, if the "head" or "tail" does not match, it will be refetched and
tested to see if it is still not matching. This will handle the race
condition without adding overhead for the passing cases.

Test-Parameters: trivial testlist=sanity-quota env=ONLY=90b,ONLY_MINUTES=120
Signed-off-by: Frederick Dilger <fdilger@whamcloud.com>
Change-Id: Ica46a79320c64caec006287bc5657488d5d1956a
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56532
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Sergey Cheremencev <scherementsev@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-quota.sh