ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r593018 - /ant/core/branches/ANT_17_BRANCH/src/tests/antunit/taskdefs/retry-test.xml
Date Thu, 08 Nov 2007 05:40:06 GMT
Author: kevj
Date: Wed Nov  7 21:40:03 2007
New Revision: 593018

URL: http://svn.apache.org/viewvc?rev=593018&view=rev
Log:
-more sensible log test

Modified:
    ant/core/branches/ANT_17_BRANCH/src/tests/antunit/taskdefs/retry-test.xml

Modified: ant/core/branches/ANT_17_BRANCH/src/tests/antunit/taskdefs/retry-test.xml
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/tests/antunit/taskdefs/retry-test.xml?rev=593018&r1=593017&r2=593018&view=diff
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/tests/antunit/taskdefs/retry-test.xml (original)
+++ ant/core/branches/ANT_17_BRANCH/src/tests/antunit/taskdefs/retry-test.xml Wed Nov  7 21:40:03
2007
@@ -7,12 +7,12 @@
     <property name="dest" value="${java.io.tmpdir}/dest"/>
     <!-- just in case this ever becomes a legit url... -->
     <property name="src" value="http://iojasodjojaosdj"/>
-    <au:expectfailure expectedmessage="Task [get] failed after [${i}] attempts; giving
up">
+    <au:expectfailure expectedmessage="Task [get] failed after [${i}] attempts, giving
up.">
       <retry retrycount="${i}">
         <get src="${src}" dest="${dest}"/>
       </retry>
     </au:expectfailure>
-    <au:assertLogContains text="Attempt [1]:  error occurred; retrying..."/>
+    <au:assertLogContains text="retrying"/>
   </target>
 
   <target name="test-success">
@@ -21,7 +21,7 @@
     <retry retrycount="${i}">
       <touch file="${dest}"/>
     </retry>
-    <au:assertLogDoesntContain text="Attempt [1]:  error occurred; retrying..."/>
+    <au:assertLogDoesntContain text="retrying"/>
   </target>
 
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message