[SERVER-45913] Racy tests in MetadataManagerTest Created: 31/Jan/20 Updated: 29/Oct/23 Resolved: 31/Jan/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Matthew Saltz (Inactive) | Assignee: | Matthew Saltz (Inactive) |
| 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: | Sharding 2020-02-10 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
A test failure can be reliably reproduced by putting a sleep after this line. There's nothing stopping the range deletion task from succeeding before that. Since this tests a test-only function I think we can remove the test or do setup like in this other test. The same is true here. We should fix all instances of racy !isReady assertions in this file. |
| Comments |
| Comment by Githook User [ 31/Jan/20 ] |
|
Author: {'name': 'Matthew Saltz', 'username': 'saltzm', 'email': 'matthew.saltz@mongodb.com'}Message: |