Skip to content

Commit

Permalink
Fix for TestServerSideApplyWithDefaulting
Browse files Browse the repository at this point in the history
Signed-off-by: muhammad adil ghaffar <muhammad.adil.ghaffar@est.tech>
  • Loading branch information
adilGhaffarDev committed Mar 25, 2024
1 parent 56e7074 commit c16f2e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ func TestServerSideApplyWithDefaulting(t *testing.T) {

// Enable the new defaulting logic (i.e. simulate the Cluster API update).
// The webhook will default the users field to `[{Name: "default-user"}]`.
g.Expect(env.Create(ctx, mutatingWebhookConfiguration)).To(Succeed())
g.Expect(env.CreateAndWait(ctx, mutatingWebhookConfiguration)).To(Succeed())
defer func() {
g.Expect(env.CleanupAndWait(ctx, mutatingWebhookConfiguration)).To(Succeed())
}()
Expand Down

0 comments on commit c16f2e2

Please sign in to comment.