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

ServiceStateMachineTest needs to be rewritten

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.9.0
    • 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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: