[ 
http://jira.amdatu.org/jira/browse/AMDATU-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12536#comment-12536
 ] 

Marcel Offermans commented on AMDATU-555:
-----------------------------------------

Trace of the locally failing test:

{code}
Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.11 sec <<< 
FAILURE!
testMultiTenantAwareServiceOnlySeesItsOwnServices:MultiTenantTest.testMultiTenantAwareServiceOnlySeesItsOwnServices:NativeContainer:org.apache.felix.framework.FrameworkFactory@615e10ab(org.amdatu.core.itest.tests.tenant.MultiTenantTest)
  Time elapsed: 0.317 sec  <<< FAILURE!
java.lang.AssertionError: expected:<2> but was:<0>
        at org.junit.Assert.fail(Assert.java:91)
        at 
org.ops4j.pax.exam.junit.JUnit4TestRunner$3.evaluate(JUnit4TestRunner.java:293)
        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.ops4j.pax.exam.junit.JUnit4TestRunner.run(JUnit4TestRunner.java:87)
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
        at $Proxy0.invoke(Unknown Source)
        at 
org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
        at 
org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
{code}
                
> Investigate intermittent problems in itests
> -------------------------------------------
>
>                 Key: AMDATU-555
>                 URL: http://jira.amdatu.org/jira/browse/AMDATU-555
>             Project: Amdatu
>          Issue Type: Bug
>          Components: Amdatu Core
>            Reporter: Marcel Offermans
>             Fix For: Sprint 4
>
>
> Sometimes, our itests seem to fail. This is either some concurrency or timing 
> issue, or it's build setup related. On my local machine for example I could 
> make a test fail the first time, but (so far) after that it works. We've seen 
> issues like this in Bamboo as well and we should take a look at what's 
> causing this.

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

        
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to