summaryrefslogtreecommitdiffstats
path: root/testautomation
diff options
context:
space:
mode:
authorJoerg Skottke [jsk] <jsk@openoffice.org>2010-07-08 09:41:33 +0200
committerJoerg Skottke [jsk] <jsk@openoffice.org>2010-07-08 09:41:33 +0200
commit3999cb339afd9a69c36dc82167f050eed65b85fd (patch)
treef956d85b48c6d956c7dbb0dd3d3adfe0aca4877d /testautomation
parentautomationdev300m84: Local merge (diff)
downloadcore-3999cb339afd9a69c36dc82167f050eed65b85fd.tar.gz
core-3999cb339afd9a69c36dc82167f050eed65b85fd.zip
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.
Diffstat (limited to 'testautomation')
-rwxr-xr-xtestautomation/global/tools/includes/required/t_tools3.inc2
1 files changed, 1 insertions, 1 deletions
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