Menu

#122 Gump failures running AntServerTest

open
nobody
None
5
2005-01-06
2005-01-06
Curt Arnold
No

All AntServerTest tests started failing on Gump with
broken pipe IOException's at 2004-12-06T15:00:16 after
successfully completing at 2004-12-06T03:00:19.

The Gump tests were off-line for about a month. The
initial commit adds a new target (gump-test) that skips
the offending tests until an analysis can be performed.

Index: build.xml

RCS file: /cvsroot/ant-contrib/ant-contrib/build.xml,v
retrieving revision 1.31
diff -r1.31 build.xml
334c334
< <target name="test" depends="compile-tests">
---
> <target name="run-test" depends="compile-tests">
339,340c339
< <fileset dir="${testclasses}">
< <exclude name="**/BuildFileTestBase.class"/>
---
> <fileset dir="${testclasses}"
excludes="${skip-tests}">
353,357c352,353
< <echo message="junit.error=${junit.error}" />
< <echo message="junit.failure=${junit.failure}" />
<
< <fail message="JUnit error encountered."
if="junit.error" />
< <fail message="JUnit failure encountered."
if="junit.failure" />
---
> <fail message="JUnit error (${junit.error})
encountered." if="junit.error" />
> <fail message="JUnit failure (${junit.failure})
encountered." if="junit.failure" />
359a356,370
> <target name="test" depends="compile-tests">
> <antcall target="run-test">
> <param name="skip-tests"
value="**/BuildFileTestBase.class"/>
> </antcall>
> </target>
>
>
> <target name="gump-test" depends="compile-tests">
> <!-- all AntServerTest tests started failing
on Gump
> with IOException at 2004-12-06T15:00:16
> after successfully completing at
2004-12-06T03:00:19 -->
> <antcall target="run-test">
> <param name="skip-tests"
value="**/BuildFileTest*.class **/AntServerTest.class
**/OutOfDateTest.class **/ShellScriptTest.class"/>
> </antcall>
> </target>
Index: src/etc/gump-descriptor.xml
===================================================================
RCS file:
/cvsroot/ant-contrib/ant-contrib/src/etc/gump-descriptor.xml,v
retrieving revision 1.13
diff -r1.13 gump-descriptor.xml
29c29
< <ant target="test">
---
> <ant target="gump-test">

Discussion


Log in to post a comment.