[jboss-jira] [JBoss JIRA] (AS7-2707) Intermittent failure in RemoteProxyControllerProtocolTestCase.testClosesBeforePrepare()

Brian Stansberry (Created) (JIRA) jira-events at lists.jboss.org
Fri Nov 18 13:36:40 EST 2011


Intermittent failure in RemoteProxyControllerProtocolTestCase.testClosesBeforePrepare()
---------------------------------------------------------------------------------------

                 Key: AS7-2707
                 URL: https://issues.jboss.org/browse/AS7-2707
             Project: Application Server 7
          Issue Type: Bug
          Components: Domain Management
    Affects Versions: 7.1.0.Beta1
            Reporter: Brian Stansberry
            Assignee: Emanuel Muckenhuber
             Fix For: 7.1.0.CR1


I can't get it to fail any more, but I swear it was!

At line 496

Assert.assertEquals(1, commitControl.txCompletionStatus.get());

commitControl.txCompletionStatus.get() was returning -1.

Which would indicate operationFailed() was not called.

I see this when testing the AS7-2702 fix. I can't see how that patch would affect the timing of calls to operationFailed, so I'm committing the patch.

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

        


More information about the jboss-jira mailing list