mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-13 19:37:43 +00:00
e2e: use Ginkgo context
All code must use the context from Ginkgo when doing API calls or polling for a change, otherwise the code would not return immediately when the test gets aborted.
This commit is contained in:
@@ -63,6 +63,6 @@ var _ = SIGDescribe("ImageCredentialProvider [Feature:KubeletCredentialProviders
|
||||
}
|
||||
|
||||
// CreateSync tests that the Pod is running and ready
|
||||
podClient.CreateSync(pod)
|
||||
podClient.CreateSync(ctx, pod)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user