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

Make already_checked_out_session.js more verbose on errors

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.2.0-rc4, 4.3.1
    • None
    • Replication
    • None
    • Fully Compatible
    • v4.2
    • Repl 2019-07-15
    • 13

    Description

      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.

      Attachments

        Activity

          People

            lingzhi.deng@mongodb.com Lingzhi Deng
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: