Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-50141

ServiceStateMachineTest needs to be rewritten

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Service Arch 2020-08-24, Service arch 2020-09-07, Service arch 2020-11-02, Service arch 2020-11-16, Service arch 2020-11-30, Service arch 2020-12-28, Service Arch 2021-01-25, Security 2021-01-25, Security 2021-02-08

      ServiceStateMachineTest here relies heavily on a _runNext function that forces the ServiceStateMachine API to use unified delegator function for each state transition. We should rewrite the tests to use failpoint[s] to better model practice in use. We should also expand the test cases to cover a more complete set of cases.

            Assignee:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: