Author: rdonkin
Date: Sun Nov  9 09:39:42 2008
New Revision: 712524

URL: http://svn.apache.org/viewvc?rev=712524&view=rev
Log:
Ensure instance is not running. Increase time out.

Modified:
    james/server/trunk/build-tools/smoke.xml

Modified: james/server/trunk/build-tools/smoke.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/build-tools/smoke.xml?rev=712524&r1=712523&r2=712524&view=diff
==============================================================================
--- james/server/trunk/build-tools/smoke.xml (original)
+++ james/server/trunk/build-tools/smoke.xml Sun Nov  9 09:39:42 2008
@@ -92,9 +92,10 @@
         <attribute name='dir'/> 
         <attribute name='cmd'/>   
         <sequential>
+            <StopJames dir='@{dir}' cmd='@{cmd}'/>   
             <StartJames dir='@{dir}' cmd='@{cmd}'/>
             <echo>Waiting for James to boot...</echo>   
-            <waitfor maxwait='20' maxwaitunit='second' 
timeoutproperty='smoke.boot.failed'>
+            <waitfor maxwait='45' maxwaitunit='second' 
timeoutproperty='smoke.boot.failed'>
                 <and>   
                     <socket server='localhost' port='10025'/>   
                     <socket server='localhost' port='10110'/>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to