Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6279

Remove assumption about who master is from HA Singleton test cases

XMLWordPrintable

      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.

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: