ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject Re: [GUMP] Test Failure - Ant
Date Fri, 01 Aug 2003 13:35:27 GMT
I do not know why the ExecTaskTest failed. It ran successfully on July 30th.
Since then, I changed slightly the code of the test to suppress logging,
that's all.
I think I need to allocate one second instead of 1/10th of a second as a
margin between the end of the build triggering the spawn and the time when
the log file is expected.
I am going to change this now. (in CVS)
Cheers,
Antoine.

----- Original Message -----
From: "Diane Holt" <holtdl@apache.org>
To: <dev@ant.apache.org>
Sent: Friday, August 01, 2003 2:45 PM
Subject: [GUMP] Test Failure - Ant


>     [junit] Testsuite: org.apache.tools.ant.taskdefs.ExecTaskTest
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 4.212 sec
>
>     [junit] Testcase:
testspawn(org.apache.tools.ant.taskdefs.ExecTaskTest): FAILED
>     [junit] log file found after spawn
>     [junit] junit.framework.AssertionFailedError: log file found after
spawn
>     [junit] at junit.framework.Assert.fail(Assert.java:47)
>     [junit] at junit.framework.Assert.assertTrue(Assert.java:20)
>     [junit] at
org.apache.tools.ant.taskdefs.ExecTaskTest.testspawn(ExecTaskTest.java:133)
>     [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
>     [junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
>     [junit] at java.lang.reflect.Method.invoke(Method.java:324)
>     [junit] at junit.framework.TestCase.runTest(TestCase.java:154)
>     [junit] at junit.framework.TestCase.runBare(TestCase.java:127)
>     [junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
>     [junit] at
junit.framework.TestResult.runProtected(TestResult.java:124)
>     [junit] at junit.framework.TestResult.run(TestResult.java:109)
>     [junit] at junit.framework.TestCase.run(TestCase.java:118)
>     [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208)
>     [junit] at junit.framework.TestSuite.run(TestSuite.java:203)
>     [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRu
nner.java:316)
>     [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask
.java:943)
>     [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a:635)
>     [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a:609)
>     [junit] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:272)
>     [junit] at org.apache.tools.ant.Task.perform(Task.java:401)
>     [junit] at org.apache.tools.ant.Target.execute(Target.java:347)
>     [junit] at org.apache.tools.ant.Target.performTasks(Target.java:374)
>     [junit] at
org.apache.tools.ant.Project.executeTarget(Project.java:1228)
>     [junit] at
org.apache.tools.ant.Project.executeTargets(Project.java:1085)
>     [junit] at org.apache.tools.ant.Main.runBuild(Main.java:661)
>     [junit] at org.apache.tools.ant.Main.startAnt(Main.java:220)
>     [junit] at org.apache.tools.ant.Main.start(Main.java:184)
>     [junit] at org.apache.tools.ant.Main.main(Main.java:267)
>
>
>
>     [junit] TEST org.apache.tools.ant.taskdefs.ExecTaskTest FAILED



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


Mime
View raw message