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

Automatically call whatthefailure from assert.soon and friends

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: Backlog
    • Component/s: Internal Code
    • None
    • Server Tooling & Methods
    • STM 2019-10-31
    • 2

      Add logic to assert.soon to automatically call hang-analysis prior to throwing.

      Add an additional optional parameter to assert.soon which is additional params to pass to hang-analysis js function.

      For now do this in addition to throwing such that hang-analysis is just a fancy new bonus-feature. Need to do this while some users of assert.soon are using assert.soon as a retry mechanism. A separate ticket will fix all callers of assert.soon

            Assignee:
            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            ryan.timmons@mongodb.com Ryan Timmons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: