Make already_checked_out_session.js more verbose on errors

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.2.0-rc4, 4.3.1
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • v4.2
    • Repl 2019-07-15
    • 13
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In the test already_checked_out_session.js, if the ScopedThread fails, the assert.soon will timeout on waiting for the insert done in the ScopedThread to show up in the currentOp. The function doInsertWithSession doesn't print out the exception caught in the try-catch block, which makes it hard to debug when it fails.

              Assignee:
              Lingzhi Deng
              Reporter:
              Lingzhi Deng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: