Skip to content

Commit 04a4f62

Browse files
authored
Merge pull request kubernetes-sigs#5763 from AndiDog/deflake-rosa-test
🌱 Deflake ROSA test
2 parents a809fcb + 0e1ecd7 commit 04a4f62

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

exp/controllers/rosaroleconfig_controller_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)