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

Wait for initial FTDC periodic metadata collection in ocsf_authcheck test

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • v8.0
    • Security 2024-05-27
    • 33

      The FTDC periodic metadata collector invokes the getClusterParameter command once at the start of the server process, and every 300 seconds (by default) thereafter. This command adds an audit log entry that, if timed correctly, will cause the assertions in ocsf_authcheck.js to fail, as interferes with the audit log entries expected by the test. Modify the test so that it waits for this audit log entry right after spawning the mongod process, but before proceeding with the remainder of the test.

            Assignee:
            erwin.pe@mongodb.com Erwin Pe
            Reporter:
            erwin.pe@mongodb.com Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: