[SERVER-21017] Add testing for config file parsing Created: 19/Oct/15  Updated: 06/Dec/22  Resolved: 01/Jun/18

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

Type: Improvement Priority: Major - P3
Reporter: Geert Bosch Assignee: Backlog - Storage Execution Team
Resolution: Done Votes: 0
Labels: nyc
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-20992 Failed global initialization error fo... Closed
Assigned Teams:
Storage Execution
Participants:

 Description   

See SERVER-20992 for an error we should have found in testing. There currently seems to be no good spot to put a regression test for this.



 Comments   
Comment by Ian Whalen (Inactive) [ 06/Jun/18 ]

I'll have to leave it to geert.bosch to comment.

Comment by Max Hirschhorn [ 06/Jun/18 ]

ian.whalen, was this actually implemented? It sounded like there was a specific test Geert wanted to write but chose not to as part of SERVER-20992.

Comment by Ian Whalen (Inactive) [ 01/Jun/18 ]

Closing as Done since it was implemented as per Max's comment.

Comment by Max Hirschhorn [ 26/May/18 ]

geert.bosch, it seems like the testGetCmdLineOptsMongod() function from test_parsed_options.js and the jstests/libs/config_files/ directory exist for this purpose.

Generated at Thu Feb 08 03:55:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.