From c3634315689debecabadc58ca50b7c8d60ec856f Mon Sep 17 00:00:00 2001 From: Elena Gryaznova Date: Tue, 27 Apr 2010 19:32:56 +0400 Subject: [PATCH] b=18649 set wait_recovery_complete() MAX value to max recovery time estimated i=Mikhail.Pershin --- lustre/tests/test-framework.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 81a4b7b7..ea708a2 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -1137,10 +1137,7 @@ wait_recovery_complete () { local facet=$1 # Use default policy if $2 is not passed by caller. - #define OBD_RECOVERY_TIMEOUT (obd_timeout * 5 / 2) - # as we are in process of changing obd_timeout in different ways - # let's set MAX longer than that - local MAX=${2:-$(( TIMEOUT * 4 ))} + local MAX=${2:-$(max_recovery_time)} local var_svc=${facet}_svc local procfile="*.${!var_svc}.recovery_status" -- 1.8.3.1