[jboss-jira] [JBoss JIRA] Closed: (JBMESSAGING-1061) Failure on ClusteredPostOfficeTest

Clebert Suconic (JIRA) jira-events at lists.jboss.org
Wed Aug 29 12:15:19 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBMESSAGING-1061?page=all ]

Clebert Suconic closed JBMESSAGING-1061.
----------------------------------------

    Resolution: Done

> Failure on ClusteredPostOfficeTest
> ----------------------------------
>
>                 Key: JBMESSAGING-1061
>                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1061
>             Project: JBoss Messaging
>          Issue Type: Bug
>    Affects Versions: 1.4.0.CR2
>            Reporter: Clebert Suconic
>         Assigned To: Clebert Suconic
>             Fix For: 1.4.0.CR2
>
>
> Vladmir Blagojevic provided me this input about the ClusteredPostOfficeTest failures (related to the JGropus usage):
> I have a workaround for you. I will continue to look for 100% solution in the coming days. What you have to do is introduce Thread.sleep(1000); at the end of GroupMember#stop() method. This gives a change to channels to cleanup properly. We get those errors from previous email when we rapidly shutdown bunch of channels.
> After this change, specific test passes 100% and I get five failures and one error for the entire test. I get a lot of these:
>   [junit] @main 10:20:48,203 WARN  [ProxyAssertSupport] AssertionFailure::junit.framework.AssertionFailedError
>   [junit] junit.framework.AssertionFailedError
>   [junit]     at junit.framework.Assert.fail(Assert.java:47)
>   [junit]     at junit.framework.Assert.assertTrue(Assert.java:20)
>   [junit]     at junit.framework.Assert.assertTrue(Assert.java:27)
>   [junit]     at org.jboss.test.messaging.util.ProxyAssertSupport.assertTrue(ProxyAssertSupport.java:61)
>   [junit]     at org.jboss.test.messaging.core.postoffice.ClusteredPostOfficeTest.clusteredRouteFourNodes(ClusteredPostOfficeTest.java:2140)
>   [junit]     at org.jboss.test.messaging.core.postoffice.ClusteredPostOfficeTest.testClusteredRouteFourNodesNonPersistent(ClusteredPostOfficeTest.java:1374)
>   [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:585)
>   [junit]     at junit.framework.TestCase.runTest(TestCase.java:164)
>   [junit]     at junit.framework.TestCase.runBare(TestCase.java:130)
>   [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:120)
>   [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:230)
>   [junit]     at junit.framework.TestSuite.run(TestSuite.java:225)
>   [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
>   [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
>   [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
> but these seem to be related to message references. I tried changing these tests to use equals method rather than == and they started passing.
> Not sure what are these about. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list