[SERVER-74467] Replace assert with assert.soon for checking currentOp Created: 28/Feb/23 Updated: 29/Oct/23 Resolved: 01/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sean Zimmerman | Assignee: | Sean Zimmerman |
| 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 | ||||
| Sprint: | Repl 2023-03-06 | ||||
| Participants: | |||||
| Linked BF Score: | 141 | ||||
| Description |
|
The test write_concern_operation_metrics.js has a portion where we check currentOp for a specific field. On slow machines this can be an issue if the currentOp query is made before the op is processed by the server. Replace the assert with assert.soon |
| Comments |
| Comment by Githook User [ 01/Mar/23 ] |
|
Author: {'name': 'seanzimm', 'email': 'sean.zimmerman@mongodb.com', 'username': 'seanzimm'}Message: |