Changeset 25444 for main


Ignore:
Timestamp:
2012-04-19T18:30:01+12:00 (12 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.

File:
1 edited

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     
Note: See TracChangeset for help on using the changeset viewer.