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

rewrite killop.js using setYieldAllLocksHang failpoint

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.2, 3.5.2
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • Query 2017-01-23
    • 0

      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).

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

              Created:
              Updated:
              Resolved: