Skip to content

Commit 357a804

Browse files
committed
Add missing AfterEach() calls
1 parent 023c5fe commit 357a804

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkg/sanity/controller.go

+8
Original file line numberDiff line numberDiff line change
@@ -1317,6 +1317,10 @@ var _ = DescribeSanity("DeleteSnapshot [Controller Server]", func(sc *TestContex
13171317
}
13181318
})
13191319

1320+
AfterEach(func() {
1321+
r.Cleanup()
1322+
})
1323+
13201324
It("should fail when no snapshot id is provided", func() {
13211325

13221326
req := &csi.DeleteSnapshotRequest{}
@@ -1369,6 +1373,10 @@ var _ = DescribeSanity("CreateSnapshot [Controller Server]", func(sc *TestContex
13691373
}
13701374
})
13711375

1376+
AfterEach(func() {
1377+
r.Cleanup()
1378+
})
1379+
13721380
It("should fail when no name is provided", func() {
13731381

13741382
req := &csi.CreateSnapshotRequest{

0 commit comments

Comments
 (0)