File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -225,18 +225,18 @@ func TestROSARoleConfigReconcileCreate(t *testing.T) {
225225 "type": "AccountRole"
226226 },
227227 {
228- "id": "sts_hcp_support_permission_policy",
228+ "id": "sts_hcp_support_permission_policy",
229229 "arn": "arn:aws:iam::aws:policy/sts_hcp_support_permission_policy",
230230 "type": "AccountRole"
231231 },
232232 {
233233 "id": "sts_hcp_worker_permission_policy",
234- "arn": "arn:aws:iam::aws:policy/sts_hcp_worker_permission_policy",
234+ "arn": "arn:aws:iam::aws:policy/sts_hcp_worker_permission_policy",
235235 "type": "AccountRole"
236236 },
237237 {
238238 "id": "sts_hcp_instance_worker_permission_policy",
239- "arn": "arn:aws:iam::aws:policy/sts_hcp_instance_worker_permission_policy",
239+ "arn": "arn:aws:iam::aws:policy/sts_hcp_instance_worker_permission_policy",
240240 "type": "AccountRole"
241241 }
242242 ]
@@ -623,7 +623,7 @@ func TestROSARoleConfigReconcileExist(t *testing.T) {
623623 g .Expect (updatedRoleConfig .Status .OperatorRolesRef .NodePoolManagementARN ).To (Equal ("arn:aws:iam::123456789012:role/test-kube-system-capa-controller-manager" ))
624624 g .Expect (updatedRoleConfig .Status .OperatorRolesRef .ControlPlaneOperatorARN ).To (Equal ("arn:aws:iam::123456789012:role/test-kube-system-control-plane-operator" ))
625625 g .Expect (updatedRoleConfig .Status .OperatorRolesRef .KMSProviderARN ).To (Equal ("arn:aws:iam::123456789012:role/test-kube-system-kms-provider" ))
626- }).Should (Succeed ())
626+ }).WithTimeout ( 30 * time . Second ). Should (Succeed ())
627627
628628 // Should have a condition indicating success - expect Ready condition to be True
629629 g .Eventually (func (g Gomega ) {
You can’t perform that action at this time.
0 commit comments