Skip to content

Commit

Permalink
add todo to drop IgnoreAutogeneratedMetadata, after matcher is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sbueringer committed Nov 2, 2021
1 parent 4259502 commit e3adfc9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit e3adfc9

Please sign in to comment.