From 3999cb339afd9a69c36dc82167f050eed65b85fd Mon Sep 17 00:00:00 2001 From: "Joerg Skottke [jsk]" Date: Thu, 8 Jul 2010 09:41:33 +0200 Subject: [PATCH] automationdev300m84: #i112935 - The fix is that i check for iRetries being greater equal MAX_RETRIES. This is against my understanding of the for-next loops internal workings but solves the problem. --- testautomation/global/tools/includes/required/t_tools3.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testautomation/global/tools/includes/required/t_tools3.inc b/testautomation/global/tools/includes/required/t_tools3.inc index 27ac128437ee..f52010f086e4 100755 --- a/testautomation/global/tools/includes/required/t_tools3.inc +++ b/testautomation/global/tools/includes/required/t_tools3.inc @@ -1108,7 +1108,7 @@ function hUseAsyncSlot( cSlot as string ) as integer iTime = iRetries * DELAY ' Timeout is -1 - if ( iRetries = MAX_RETRIES ) then iTime = RC_TIMEOUT + if ( iRetries >= MAX_RETRIES ) then iTime = RC_TIMEOUT if ( GVERBOSE ) then printlog( CFN & "Exit with rc=" & iTime ) hUseAsyncSlot() = iTime