You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2010/10/24 15:18:22 UTC

[jira] Commented: (SLING-1849) DropQueueTest failure

    [ https://issues.apache.org/jira/browse/SLING-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924314#action_12924314 ] 

Carsten Ziegeler commented on SLING-1849:
-----------------------------------------

Hi Felix, I did two changes to the eventing test: the job area in the repo is now always removed before each test and the drop test is now better synced.
Can you please retest?

> DropQueueTest failure
> ---------------------
>
>                 Key: SLING-1849
>                 URL: https://issues.apache.org/jira/browse/SLING-1849
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>         Environment: $ mvn -v
> Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_13
> Java home: /usr/java/jdk1.6.0_13/jre
> Default locale: de_CH, platform encoding: UTF-8
> OS name: "linux" version: "2.6.32-25-generic" arch: "amd64" Family: "unix"
>            Reporter: Felix Meschberger
>            Assignee: Carsten Ziegeler
>
> The bundles/extensions/event module has a unit test failure on my Ubuntu box:
>     testDroppingQueue(org.apache.sling.event.impl.jobs.DropQueueTest)
> -------------------------------------------------------------------------------
> Test set: org.apache.sling.event.impl.jobs.DropQueueTest
> -------------------------------------------------------------------------------
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.976 sec <<< FAILURE!
> testDroppingQueue(org.apache.sling.event.impl.jobs.DropQueueTest)  Time elapsed: 2.809 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<0> but was:<4>
> 	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.sling.event.impl.jobs.DropQueueTest.testDroppingQueue(DropQueueTest.java:141)
> 	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.junit.internal.runners.TestMethod.invoke(TestMethod.java:66)
> 	at org.jmock.integration.junit4.JMock$1.invoke(JMock.java:37)
> 	at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:105)
> 	at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:86)
> 	at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:94)
> 	at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:84)
> 	at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:49)
> 	at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:98)
> 	at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:61)
> 	at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:54)
> 	at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:34)
> 	at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:44)
> 	at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:52)
> 	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:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	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.
-
You can reply to this email to add a comment to the issue online.