[jboss-jira] [JBoss JIRA] Closed: (JBAS-6279) Remove assumption about who master is from HA Singleton test cases

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Wed Dec 3 15:36:36 EST 2008


     [ https://jira.jboss.org/jira/browse/JBAS-6279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry closed JBAS-6279.
----------------------------------

    Fix Version/s: JBossAS-5.0.0.GA
                       (was: JBossAS-5.0.1.CR1)
       Resolution: Done


> Remove assumption about who master is from HA Singleton test cases
> ------------------------------------------------------------------
>
>                 Key: JBAS-6279
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6279
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Clustering, Test Suite
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>            Priority: Minor
>             Fix For: JBossAS-5.0.0.GA
>
>
> HASingletonControllerBeanUnitTestCase and HASingletonDeployerTestCase both assume node 0 is the singleton master and then make assertions based on that fact. This leads to spurious test failures if some earlier event during the test run caused node 1 to become the coordinator.
> The tests should determine who the master is and then check the behavior was as expected.

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

        



More information about the jboss-jira mailing list