Wait for initial FTDC periodic metadata collection in ocsf_authcheck test

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: