You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While updating the dependencies of the project I noticed that these two
tests started to fail because the agent cluster object doesn't have the
`apiVersion` and `kind` fields populated, and that is used by the new
versions of the functions that compare owner references. But when I
fixed that the test started to fail because the setup of the agent
cluster isn't correct for the test: it needs to have a valid
`status.clusterDeploymentRef` and a valid `spec.controlPlaneEndpoint`,
otherwise the reconciler will not do the orphaning logic, or will reject
the object completely. This patch fixes those tests so that they work
now and will also work when updated to newer versions of the
dependencies.
Signed-off-by: Juan Hernandez <[email protected]>
0 commit comments