[SERVER-42804] Add a sharding_sleepy suite that inserts sleeps in random places and runs the tests in jstests/sharding Created: 13/Aug/19 Updated: 06/Dec/22 Resolved: 16/Aug/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Esha Maharishi (Inactive) | Assignee: | [DO NOT USE] Backlog - Sharding Team |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Sharding
|
| Participants: |
| Description |
|
Those tests should not fail due to random sleeps. By this I mean sleeps in the server as opposed to sleeps in the tests. If this requires re-compiling the server in a different way, maybe a variant would be more appropriate than a suite. |
| Comments |
| Comment by Kaloian Manassiev [ 16/Aug/19 ] |
|
Like we discussed, adding random sleeps in the code is not the right way to approach this problem as opposed to having a fuzzer suite, which intercepts system calls and randomly blocks them. We will not forget that we need to add this testing coverage and also it does not fit with the Epic under which it is linked, so I am closing it as Incomplete. |