[SERVER-50784] Must disable requireApiVersion after all fuzz tests Created: 07/Sep/20 Updated: 29/Oct/23 Resolved: 22/Sep/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.8.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 4 | ||||||||||||||||
| Description |
|
If the JS test fuzzer happens to produce code that enables the "requireApiVersion" server parameter, then all test hooks' commands will fail because they don't pass an API version. For example, in jstestfuzz_replication_continuous_stepdown, if the fuzzer enables requireApiVersion, then the CheckReplDBHash hook will fail at the end of the test. I fixed this for replica set tests in Let's rename FuzzerRestoreClusterSettings to FuzzerRestoreSettings and run it at the end of all fuzz tests that might enable requireApiVersion. |
| Comments |
| Comment by Githook User [ 22/Sep/20 ] |
|
Author: {'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}Message: |
| Comment by Githook User [ 08/Sep/20 ] |
|
Author: {'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}Message: |