[SERVER-83919] Abstract multi client test case and builder from JSTestCase Created: 05/Dec/23  Updated: 14/Dec/23  Resolved: 14/Dec/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Sophia Tan Assignee: Sophia Tan
Resolution: Fixed Votes: 0
Labels: ntdi_must_have
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-74910 Create concurrency test suite that ru... Closed
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2023-12-11, Service Arch 2023-12-25
Participants:
Story Points: 2

 Description   

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.



 Comments   
Comment by Githook User [ 14/Dec/23 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-83919 Abstract multi client test case and builder from JSTestCase

GitOrigin-RevId: f4e02fa3e0990967cec72b6d1c565269bcde76f9
Branch: master
https://github.com/mongodb/mongo/commit/86f62c02ec874b27ffe9aa48b3e7523ef483f750

Generated at Thu Feb 08 06:53:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.