Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-42335

ShutdownShouldCancelQueuedRequests cpp test can ignore kill signal

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.2.1, 4.3.1
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v4.2
    • Sharding 2019-08-12
    • 19

      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.

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: