diff --git a/controllers/topology/internal/extensions/patches/engine_test.go b/controllers/topology/internal/extensions/patches/engine_test.go index 1e12a1609431..80fd3d76b023 100644 --- a/controllers/topology/internal/extensions/patches/engine_test.go +++ b/controllers/topology/internal/extensions/patches/engine_test.go @@ -376,6 +376,7 @@ func TestApply(t *testing.T) { g.Expect(Apply(context.Background(), blueprint, desired)).To(Succeed()) // Compare the patched desired objects with the expected desired objects. + // TODO(sbueringer): drop IgnoreAutogeneratedMetadata once https://github.com/kubernetes-sigs/cluster-api/pull/5565 is merged g.Expect(desired.Cluster).To(EqualObject(expectedCluster, IgnoreAutogeneratedMetadata)) g.Expect(desired.InfrastructureCluster).To(EqualObject(expectedInfrastructureCluster)) g.Expect(desired.ControlPlane.Object).To(EqualObject(expectedControlPlane))