Skip to content

Commit

Permalink
Add missing AfterEach() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
timoreimann committed Jul 29, 2020
1 parent 61f50ce commit 2e872cb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/sanity/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1317,6 +1317,10 @@ var _ = DescribeSanity("DeleteSnapshot [Controller Server]", func(sc *TestContex
}
})

AfterEach(func() {
r.Cleanup()
})

It("should fail when no snapshot id is provided", func() {

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

AfterEach(func() {
r.Cleanup()
})

It("should fail when no name is provided", func() {

req := &csi.CreateSnapshotRequest{
Expand Down

0 comments on commit 2e872cb

Please sign in to comment.