[SERVER-56744] All feature flags to be specified for local resmoke invocation without the all_feature_flags.txt file Created: 07/May/21 Updated: 29/Oct/23 Resolved: 13/May/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Robert Guo (Inactive) | Assignee: | Robert Guo (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | tig-resmoke | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Sprint: | STM 2021-05-17, STM 2021-05-31 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 36 | ||||||||||||||||||||
| Story Points: | 1 | ||||||||||||||||||||
| Description |
|
Problem: the "resmoke ... local usage" command printed in Evergreen resmoke runs includes the "--runAllFeatureFlagTests" option, which requires the existence of "all_feature_flags.txt". This file is only generated in Evergreen and not available in local dev environments, unless you download and copy the file from the compile artifacts. Solution: In the local resmoke invocation, the "--runAllFeatureFlagTests" option is replaced with a list of all the feature flags that is passed through the "--additionalFeatureFlags" parameter. This will allow a test failure to be reproduced locally even without the presence of all_feature_flags.txt |
| Comments |
| Comment by Robert Guo (Inactive) [ 13/May/21 ] |
|
daniel.gottlieb This should give you all the feature flags automatically without needing to download all_feature_flags.txt. You shouldn't need to type anything extra; if you were previously downloading that file, you no longer need to do that! I updated the description. Let me know if you have other questions. |
| Comment by Daniel Gottlieb (Inactive) [ 13/May/21 ] |
|
robert.guo does this patch let users run resmoke with some options to get feature flags? Can you edit the description/leave a comment for what users can now type and what results they should expect? |
| Comment by Githook User [ 13/May/21 ] |
|
Author: {'name': 'Robert Guo', 'email': 'robert.guo@mongodb.com'}Message: |