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

test(e2e): Find specific CRS binding when checking if resource is applied #391

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

jimmidyson
Copy link
Member

@jimmidyson jimmidyson commented Feb 22, 2024

@jimmidyson jimmidyson enabled auto-merge (squash) February 22, 2024 10:49
@jimmidyson jimmidyson changed the title test(e2e): Refactor test helper to use slices package test(e2e): Find specific CRS binding when checking if resource is applied Feb 22, 2024
Copy link
Contributor

@dkoshkin dkoshkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great find! Lets wait for the upstream to merge and sync up again https://github.com/kubernetes-sigs/cluster-api/pull/10191/files

Check the relevant ResourceSetBinding to see if the resource is
applied. If multiple ClusterResourceSets match a cluster, the
ClusterResourceSetBinding will have multiple bindings and so only the
relevant ResourceSetBinding should be checked.
Copy link
Contributor

@dkoshkin dkoshkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually we'll just pick this change up from upstream once released, its more valuable to have the tests fixed.

@jimmidyson jimmidyson merged commit 604db96 into main Feb 26, 2024
13 checks passed
@jimmidyson jimmidyson deleted the jimmi/e2e-crs-helper-refactor branch February 26, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants