ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49527] New: parallel timeout does not stop execution
Date Wed, 30 Jun 2010 05:27:59 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49527

           Summary: parallel timeout does not stop execution
           Product: Ant
           Version: nightly
          Platform: Macintosh
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: notifications@ant.apache.org
        ReportedBy: anthony@chivetta.org


When running something like the following: 

  <parallel timeout="2000">
       <sequential>
            <echo message="1" />
            <sleep seconds="10" />
            <echo message="2" />
       </sequential>
  </parallel>

I get the output (using ant 1.8.0 or 1.8.2alpha):

    test:
         [echo] 1
         [echo] 2

  BUILD FAILED
  build.xml:7: Parallel execution timed out

However, I expect (using ant 1.7.1):

  test:
       [echo] 1

  BUILD FAILED
  build.xml:7: Parallel execution timed out

The documentation of <parallel> describes the timeout option as "Number of
milliseconds before execution is terminated."  This would seem to agree with
the ant 1.7.1 behavior where execution of the <sequential> block is terminated
upon timeout and the remaining <echo> elements are not executed.  I have
attached a minimal build.xml file that demonstrates this bug.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message