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