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

Relax assertion on the ordering of FTDC entries in controller_test

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 8.1.0-rc0, 8.0.0-rc3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • v8.0
    • Security 2024-04-29
    • 44

      The ValidateDocumentList() function used in controller_test.cpp unit tests requires that the sequence of FTDC records read from the file completely match the expected test vector input. With the introduction of periodic metadata sampling records (PM-3290) which can be interleaved with metric chunk records, figuring out the exact sequence of FTDC records that are expected to be written becomes much less straightforward. There should be another way to validate the sequence of FTDC records by category.

            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: