Skip to content

Commit d06dca6

Browse files
committed
re-enable cleanup
On-behalf-of: @SAP [email protected]
1 parent 20cee06 commit d06dca6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/utils/utils.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ func CreateSelfDestructingNamespace(t *testing.T, ctx context.Context, client ct
111111
t.Fatal(err)
112112
}
113113

114-
// t.Cleanup(func() {
115-
// t.Logf("Deleting namespace %s...", name)
116-
// if err := client.Delete(ctx, &ns); err != nil {
117-
// t.Fatal(err)
118-
// }
119-
// })
114+
t.Cleanup(func() {
115+
t.Logf("Deleting namespace %s...", name)
116+
if err := client.Delete(ctx, &ns); err != nil {
117+
t.Fatal(err)
118+
}
119+
})
120120

121121
return &ns
122122
}

0 commit comments

Comments
 (0)