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

Make already_checked_out_session.js more verbose on errors

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Lingzhi Deng
            Reporter:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: