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

rewrite killop.js using setYieldAllLocksHang failpoint

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.2, 3.5.2
    • Querying
    • None
    • Fully Compatible
    • Query 2017-01-23
    • 0

    Description

      As it's currently written the test uses a long-running $where query so that it has an operation to kill, but this can be more reliably achieved using the setYieldAllLocksHang failpoint. Doing so will remove the timing related assertions of the test such as this one and make the test more reliable.

      To use the failpoint, we'll have to move the test out of core and into noPassthrough. While doing this, we should ensure we still get the coverage we want that we were getting via passthrough suites (e.g. killing an operation through a mongos).

      Attachments

        Activity

          People

            james.wahlin@mongodb.com James Wahlin
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: