[jboss-jira] [JBoss JIRA] Created: (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 14:04:36 EST 2008


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.1.CR1


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