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

Abstract multi client test case and builder from JSTestCase

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Service Arch 2023-12-11, Service Arch 2023-12-25
    • 2

      Today, the JSTestCase already supports multi clients for `js_test` test kind. We are going to do the similar thing in FSMWorkloadTestCase so that it can also support multi clients for `fsm_workload_test` test kind. 

      Here is the current design. The JSTestCase is a multi clients test case and has a JSTestBuilder to create SingleJSTestCase instances according to the number of clients. The _SingleJSTestCase is a real test case which executes the `run_test` function and starts a js process for the js test file selected by the test suite.

      In this ticket, we need to abstract the common logic related to multi clients from those classes to MultiClientTestCase and TestCaseBuilder classes and refactor the JSTestCase.

            Assignee:
            sophia.tan@mongodb.com Sophia Tan
            Reporter:
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: