refactor mock server to track individual mock servers to reduce flakiness

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Mock servers must be manually and explicitly destroyed at the end of each test. Now that we use mocha, we can utilize test hooks in order to manage our state more effectively. Not only does this mean we can centralize where mock servers are cleaned up (in the mock module itself), but we can also ensure that when one test fails it does not bring down the rest of the batch (because they tend to use the same port numbers).

            Assignee:
            Matt Broadstone
            Reporter:
            Matt Broadstone
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: