aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Hughes (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ARIES-682) application-modeller-common-test failure
Date Wed, 26 Oct 2011 14:35:32 GMT

     [ https://issues.apache.org/jira/browse/ARIES-682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jeremy Hughes resolved ARIES-682.
---------------------------------

    Resolution: Fixed
    
> application-modeller-common-test failure
> ----------------------------------------
>
>                 Key: ARIES-682
>                 URL: https://issues.apache.org/jira/browse/ARIES-682
>             Project: Aries
>          Issue Type: Bug
>          Components: Application
>         Environment: Windows + cygwin
>            Reporter: Jeremy Hughes
>            Assignee: Valentin Mahrwald
>             Fix For: util-0.4
>
>
> I see two failing tests in application-modeller-common-test - two tests run against a
bundle jar which pass, but the same two tests that run against an extracted bundle jar fail.
The Blueprint services aren't being found. This is the failure:
> -------------------------------------------------------------------------------
> Test set: org.apache.aries.application.modelling.ModellerTest
> -------------------------------------------------------------------------------
> Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.187 sec <<<
FAILURE!
> testParsingOfBundle[0](org.apache.aries.application.modelling.ModellerTest)  Time elapsed:
0.012 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<3> but was:<0>
>     at org.junit.Assert.fail(Assert.java:91)
>     at org.junit.Assert.failNotEquals(Assert.java:645)
>     at org.junit.Assert.assertEquals(Assert.java:126)
>     at org.junit.Assert.assertEquals(Assert.java:470)
>     at org.junit.Assert.assertEquals(Assert.java:454)
>     at org.apache.aries.application.modelling.ModellerTest.checkTestBundleResource(ModellerTest.java:127)
>     at org.apache.aries.application.modelling.ModellerTest.testParsingOfBundle(ModellerTest.java:94)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:600)
>     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>     at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
>     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
>     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
>     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
>     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
>     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
>     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
>     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
>     at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
>     at org.junit.runners.Suite.runChild(Suite.java:128)
>     at org.junit.runners.Suite.runChild(Suite.java:24)
>     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
>     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
>     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
>     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
>     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
>     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>     at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
>     at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>     at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>     at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>     at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:600)
>     at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
>     at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message