[SERVER-47192] Add ability to set TestData seed from resmoke command line Created: 30/Mar/20  Updated: 06/Dec/22  Resolved: 05/Nov/21

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: William Schultz (Inactive) Assignee: Backlog - Server Tooling and Methods (STM) (Inactive)
Resolution: Won't Do Votes: 0
Labels: tig-multiversion, tig-resmoke
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Server Tooling & Methods
Participants:
Linked BF Score: 50

 Description   

For some test suites, like replica_sets_multiversion and sharding_multiversion, in order to reproduce a failure with a specific seed you have to set the TestData.seed in a Javascript test file. It would be convenient if this could be set from the resmoke command line via a new parameter i.e. --testDataSeed that gets passed to the shell.



 Comments   
Comment by Brooke Miller [ 05/Nov/21 ]

Please feel free to re-open if this is still a pain point.

Comment by Brooke Miller [ 22/Sep/20 ]

We want to propagate all relevant environment information from resmoke to the shell, so we can repurpose this ticket to do that, if needed.

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