From 693a894a1e50e2ccc0222b15125c473483753661 Mon Sep 17 00:00:00 2001 From: yury <yury> Date: Tue, 2 Dec 2008 12:20:22 +0000 Subject: [PATCH] b=17813 r=shadow - take into account the limit on the host because the higher limit the longer it takes to kill some 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 8e7055d25d..1f31652782 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -5059,7 +5059,7 @@ test_124a() { # them (10-100 locks). This depends on how fast ther were created. # Many of them were touched in almost the same moment and thus will # be killed in groups. - local LVF=$(($MAX_HRS * 60 * 60 / $SLEEP)) + local LVF=$(($MAX_HRS * 60 * 60 / $SLEEP * $LIMIT / $LRU_SIZE)) # Use $LRU_SIZE_B here to take into account real number of locks # created in the case of CMD, LRU_SIZE_B != $NR in most of cases -- GitLab