Whamcloud - gitweb
- make margin 10 sec more in 124a to let client kill some locks.
authoryury <yury>
Tue, 25 Nov 2008 09:02:52 +0000 (09:02 +0000)
committeryury <yury>
Tue, 25 Nov 2008 09:02:52 +0000 (09:02 +0000)
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

index 75187c6..3cfcc5b 100644 (file)
@@ -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