TestAdmissionWebhook_KongPlugins
fails to to a race between Secret
and KongPlugin
creation
#6798
Labels
Milestone
Problem statement
TestAdmissionWebhook_KongPlugins
seems to fail sometimes due to a race between theKongPlugin
and
Secret
creation. Example of failing CI: https://github.com/Kong/kubernetes-ingress-controller/actions/runs/12211890921/job/34069697963?pr=6792#step:6:51Proposed solution
After the secret is created in
kubernetes-ingress-controller/test/envtest/admission_webhook_envtest_test.go
Lines 361 to 362 in 783d8df
Get()
call and only then continue.The text was updated successfully, but these errors were encountered: