-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
auth: fix cluster init deadlock (#49638)
* auth: fix cluster init deadlock If the bootstrapped resources are created but a failure occurs later in the cluster init process subsequent runs of the cluster initialization will fail due to the existing bootstrap resources. * add test for new behavior * add test for cluster init failures recovery * Update lib/services/local/resource_test.go Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com> * reorder assertion values --------- Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
- Loading branch information
Showing
3 changed files
with
66 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters