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

Rewrite audit/transactions.js to use the AuditSpooler correctly

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Security 2021-04-19, Security 2021-05-03, Security 2021-05-17
    • 29

    Description

      Currently, the test in transactions.js is just calling getNextEntry() and examining the next line in the audit spooler to see that the entry that it expects is present. However, this uses the incorrect assumption that there are no other processes auditing at the time. This should be fixed to use the AuditSpooler functionality like assertEntry and findEntry.

      Attachments

        Activity

          People

            shreyas.kalyan@mongodb.com Shreyas Kalyan
            shreyas.kalyan@mongodb.com Shreyas Kalyan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: