From a3d20bfea940bd4ed96cf15c4f0eaaf40507ce1b Mon Sep 17 00:00:00 2001
From: yury <yury>
Date: Tue, 25 Nov 2008 09:02:52 +0000
Subject: [PATCH] - 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.
---
 lustre/tests/sanity.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh
index 75187c6408..3cfcc5b94d 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
-- 
GitLab