Skip to content

Commit

Permalink
bootstrap pkg tests delete namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
GrigoriyMikhalkin committed Jul 19, 2021
1 parent aec9cb1 commit 37fa91f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ func TestKubeadmConfigReconciler(t *testing.T) {

config := newKubeadmConfig(machine, "my-machine-config", ns.Name)
g.Expect(env.Create(ctx, config)).To(Succeed())
defer func(do ...client.Object) {
g.Expect(env.Cleanup(ctx, do...)).To(Succeed())
}(cluster, machine, config, ns)

reconciler := KubeadmConfigReconciler{
Client: env,
Expand Down

0 comments on commit 37fa91f

Please sign in to comment.