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

Fix sleep statements in kmip_key_periodic_job.cpp

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc3, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Security 2022-04-18, Security 2022-05-02
    • 14

      In the test kmip_key_periodic_job.cpp, we ensure that the kmip key periodic job works correctly by deactivating the key, waiting 5 seconds, and then ensuring that the server has shut down. However the periodic job runs every 5 seconds, so in a perfect storm this can cause problems as seen in BF-24615. We should extend the sleep and wrap the assert statement in an assert soon.

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

              Created:
              Updated:
              Resolved: