Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directly grab map values instead of using loop-clause variables when setting up federated sync controller tests. #47061

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion test/e2e_federation/crud.go
Expand Up @@ -32,7 +32,9 @@ var _ = framework.KubeDescribe("Federated types [Feature:Federation][Experimenta

f := fedframework.NewDefaultFederatedFramework("federated-types")

for name, fedType := range federatedtypes.FederatedTypes() {
fedTypes := federatedtypes.FederatedTypes()
for name := range fedTypes {
fedType := fedTypes[name]
Describe(fmt.Sprintf("Federated %q resources", name), func() {
It("should be created, read, updated and deleted successfully", func() {
fedframework.SkipUnlessFederated(f.ClientSet)
Expand Down