You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by "John S. Adair" <jo...@yahoo.com> on 2007/06/09 01:04:10 UTC

unit test failure building downloaded ivy 1.4.1 on Windows XP

I ran ant (with the default target) and got the error:
BUILD FAILED
G:\dev\3rdparty\jayasoft\ivy\1.4.1\build.xml:230: At least one test has failed.
See logs or report

I found the following unit test failure:
<testcase classname="fr.jayasoft.ivy.xml.XmlModuleDescriptorParserTest"
name="testImportConfigurationsWithMappingOverride" time="0.078">
  <failure message="expected:<[conf2, conf1]> but was:<[conf1, conf2]>"
type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError:
expected:<[conf2, conf1]> but was:<[conf1, conf2]> at
fr.jayasoft.ivy.xml.XmlModuleDescriptorParserTest.testImportConfigurationsWithMappingOverride(XmlModuleDescriptorParserTest.java:614)</failure>

  </testcase>

Is this a known problem? Does this represent a local configuration error?



       
____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  

Re: unit test failure building downloaded ivy 1.4.1 on Windows XP

Posted by Xavier Hanin <xa...@gmail.com>.
On 6/9/07, John S. Adair <jo...@yahoo.com> wrote:
>
> I ran ant (with the default target) and got the error:
> BUILD FAILED
> G:\dev\3rdparty\jayasoft\ivy\1.4.1\build.xml:230: At least one test has
> failed.
> See logs or report
>
> I found the following unit test failure:
> <testcase classname="fr.jayasoft.ivy.xml.XmlModuleDescriptorParserTest"
> name="testImportConfigurationsWithMappingOverride" time="0.078">
>   <failure message="expected:<[conf2, conf1]> but was:<[conf1, conf2]>"
> type="junit.framework.AssertionFailedError">
> junit.framework.AssertionFailedError:
> expected:<[conf2, conf1]> but was:<[conf1, conf2]> at
>
> fr.jayasoft.ivy.xml.XmlModuleDescriptorParserTest.testImportConfigurationsWithMappingOverride
> (XmlModuleDescriptorParserTest.java:614)</failure>
>
>   </testcase>
>
> Is this a known problem? Does this represent a local configuration error?


Is it with a java 6 runtime? If so, yes it is a known problem which only
affects the test, and does not imply any problem with Ivy itself. The
problem is fixed in trunk.

Xavier

____________________________________________________________________________________
> Moody friends. Drama queens. Your life? Nope! - their life, your story.
> Play Sims Stories at Yahoo! Games.
> http://sims.yahoo.com/
>



-- 
Xavier Hanin - Independent Java Consultant
Manage your dependencies with Ivy!
http://incubator.apache.org/ivy/