Add unit test to cover key destruction enqueueing case in gcpkms KeyManager plugin #5532
Labels
help wanted
Issues with this label are ready to start work but are in need of someone to do it
priority/backlog
Issue is approved and in the backlog
We used to have a test in the
gcpkms
KeyManager plugin calledTestEnqueueDestruction
that checked a case when multiple keys are queued for destruction. There is a limit to how many keys can be enqueued for destruction at the same time, and the test asserted that when that limit is reached, the key destruction operation request is dropped. This test was historically flaky on CI, and the case that was covered in the test is a very rare edge case, so we decided to drop the test in favor of designing a more robust test.We should come up with a new test to replace this old test case to bring code coverage back up in the
gcpkms
KeyManager plugin.The text was updated successfully, but these errors were encountered: