Changeset 25444

Show
Ignore:
Timestamp:
19.04.2012 18:30:01 (8 years ago)
Author:
ak19
Message:

Needed to do a NOT on the socket test, because we're waiting until the test will fail at last, rather than waiting for the socket to be(come) active after stopping it. Because the response times were so immediate in the tests so far, that the time-dependent tests were doing the exact opposite had gone unnoticed. Now there's a minute delay after the force stop that takes place during an ant restart which makes sense.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/build.xml

    r25443 r25444  
    11481148     <echo>Waiting for the server to shutdown... (${wait.numchecks} seconds max)</echo> 
    11491149     <waitfor maxwait="${wait.numchecks}" maxwaitunit="second" checkevery="1" checkeveryunit="second" timeoutproperty="tomcat.timedout"> 
    1150        <socket server="${tomcat.server}" port="${tomcat.port}"/>        
     1150       <not><socket server="${tomcat.server}" port="${tomcat.port}"/></not> 
    11511151     </waitfor> 
    11521152