[SERVER-65446] Fix sleep statements in kmip_key_periodic_job.cpp Created: 11/Apr/22 Updated: 29/Oct/23 Resolved: 20/Apr/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc3, 6.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Shreyas Kalyan | Assignee: | Shreyas Kalyan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v6.0
|
||||||||
| Sprint: | Security 2022-04-18, Security 2022-05-02 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 14 | ||||||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 26/Apr/22 ] |
|
Author: {'name': 'Shreyas Kalyan', 'email': 'shreyas.kalyan@10gen.com', 'username': 'shreyaskalyan'}Message: (cherry picked from commit 00267d7181b76df55139aef38c40461bf1b64f33) |
| Comment by Githook User [ 20/Apr/22 ] |
|
Author: {'name': 'Shreyas Kalyan', 'email': 'shreyas.kalyan@10gen.com', 'username': 'shreyaskalyan'}Message: |