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:
Patrick Ohly
2022-12-12 10:11:10 +01:00
parent bf1d1dfd0f
commit 2f6c4f5eab
418 changed files with 11489 additions and 11369 deletions

View File

@@ -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)
})
})