Most of the time test passes because the periodic waitForMajority has not get a chance to consume the queued opTimes before the shutdown sets the promises. However, in some cases, it could be calling the waitForWC, which is a mocked function in the test setup. Because the mock function always returns Status::OK, it will never get the InterruptedByShutdown status code.
ShutdownShouldCancelQueuedRequests cpp test can ignore kill signal
- Assignee:
-
Randolph Tan
- Reporter:
-
Randolph Tan
- Votes:
-
0 Vote for this issue - Watchers:
-
0 Start watching this issue
- Created:
- Updated:
- Resolved: