[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: |
|
||||||||
| 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: GitOrigin-RevId: f4e02fa3e0990967cec72b6d1c565269bcde76f9 |