From: yury Date: Tue, 25 Nov 2008 09:02:52 +0000 (+0000) Subject: - make margin 10 sec more in 124a to let client kill some locks. X-Git-Tag: v1_9_120~71 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=a3d20bfea940bd4ed96cf15c4f0eaaf40507ce1b;p=fs%2Flustre-release.git - make margin 10 sec more in 124a to let client kill some locks. Rationale is the following: * 30 sec we need because in 30 sec locks on client will get old enough to _start_ kiling them; * 10 sec we need because client checks SLV and kills locks every 10 sec; * 10 sec more we need to make sure that we did not race in worse case scenario and client really had some time to kill locks. --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 75187c6..3cfcc5b 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -5238,7 +5238,7 @@ test_124a() { # Let's make sure that we really have some margin. Client checks # cached locks every 10 sec. - SLEEP=$((SLEEP+10)) + SLEEP=$((SLEEP+20)) log "Sleep ${SLEEP} sec" local SEC=0 while ((SEC<$SLEEP)); do