Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-790

Failure of StandbyStateManagementTest.testPMStandbyStateChangeNotifier

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Beijing Release
    • Beijing Release, Casablanca Release
    • None
    • None

      The StandbyStateManagementTest.testPMStandbyStateChangeNotifier() test failed due to an assertion failure.  Looking at the log, it appears that the test is reusing a StateManagement instance because an existing IntegrityMonitor is present due to creation of the instance of a state management feature in a previous test.  This is not a problem for other tests, but in this case, the test relies on the Standby Status previous value.  For this test, the value is incorrect.  The solution is to simply create a fresh instance of the StateManagement class and use it directly rather than create an instance of the feature for StateManagement.

            km097d km097d
            km097d km097d
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: