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

Automatically call whatthefailure from assert.soon and friends

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: Backlog
    • Fix Version/s: None
    • Component/s: Internal Code
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: