Fix sleep statements in kmip_key_periodic_job.cpp

XMLWordPrintableJSON

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

      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
              Reporter:
              Shreyas Kalyan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: