ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: ant/src/etc/testcases/taskdefs parallel.xml
Date Mon, 17 Feb 2003 13:27:38 GMT
conor       2003/02/17 05:27:38

  Modified:    src/etc/testcases/taskdefs parallel.xml
  Log:
  Make parallel test (much) more likely to succeed by delaying start of each
  task in the set.
  
  Revision  Changes    Path
  1.3       +8 -2      ant/src/etc/testcases/taskdefs/parallel.xml
  
  Index: parallel.xml
  ===================================================================
  RCS file: /home/cvs/ant/src/etc/testcases/taskdefs/parallel.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -w -u -r1.2 -r1.3
  --- parallel.xml	11 Feb 2003 11:26:44 -0000	1.2
  +++ parallel.xml	17 Feb 2003 13:27:38 -0000	1.3
  @@ -41,36 +41,40 @@
         </sequential>
       </parallel>
       <parallel threadCount='2' pollInterval="30">
  -      <!-- expected start 1, end 1, start 2, end 2, start 3, end 3 -->
  +      <!-- expected start 1, start 2, end 1, start 3, end 2, end 3 -->
         <sequential>
           <echo message="+1"/>
           <sleep seconds="1"/>
           <echo message="-1"/>
         </sequential>
         <sequential>
  +        <sleep milliseconds="200"/>
           <echo message="+2"/>
           <sleep seconds="2"/>
           <echo message="-2"/>
         </sequential>
         <sequential>
  +        <sleep milliseconds="300"/>
           <echo message="+3"/>
           <sleep seconds="3"/>
           <echo message="-3"/>
         </sequential>
       </parallel>
       <parallel threadCount='3' pollInterval="30">
  -      <!-- expected start 1, start 2, end 1, start 3, end 2, end 3 -->
  +      <!-- expected start 1, start 2, start 3, end 1, end 2, end 3 -->
         <sequential>
           <echo message="+1"/>
           <sleep seconds="1"/>
           <echo message="-1"/>
         </sequential>
         <sequential>
  +        <sleep milliseconds="200"/>
           <echo message="+2"/>
           <sleep seconds="2"/>
           <echo message="-2"/>
         </sequential>
         <sequential>
  +        <sleep milliseconds="300"/>
           <echo message="+3"/>
           <sleep seconds="3"/>
           <echo message="-3"/>
  @@ -84,11 +88,13 @@
           <echo message="-1"/>
         </sequential>
         <sequential>
  +        <sleep milliseconds="200"/>
           <echo message="+2"/>
           <sleep seconds="2"/>
           <echo message="-2"/>
         </sequential>
         <sequential>
  +        <sleep milliseconds="300"/>
           <echo message="+3"/>
           <sleep seconds="3"/>
           <echo message="-3"/>
  
  
  

Mime
View raw message