From 790423c504019f5996237c80b4a28f7a18c3252f Mon Sep 17 00:00:00 2001 From: Elena Gryaznova Date: Fri, 26 Feb 2010 22:12:28 +0300 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 93a175b..5def868 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -965,10 +965,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