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

Add timestamp with Failed to Load message in jstests

    XMLWordPrintable

Details

    • Fully Compatible
    • Security 2022-04-18, Security 2022-05-02

    Description

      Sometimes when diagnosing a failure in a BF, it is hard to determine when exactly the failure happened - there may be missing log statements etc. In these situations, it would be helpful to have timestamps associated with the Javascript backtrace that gets outputted from the tests.

      For example, in BF-24122 it's hard to tell when the assert.soon failed. Because it causes the process to terminate, we can make some assumptions from the log line below failed to load, but it would be nice to have a timestamp on the actual failure message.

      Attachments

        Issue Links

          Activity

            People

              gabriel.marks@mongodb.com Gabriel Marks
              shreyas.kalyan@mongodb.com Shreyas Kalyan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: