Cleanup netns after test suit

Signed-off-by: smarkm <smark@freecoop.net>
This commit is contained in:
smarkm
2019-08-21 08:40:38 +08:00
parent 485be65581
commit 0d0dcfc02f
7 changed files with 9 additions and 2 deletions

View File

@ -233,7 +233,8 @@ var _ = Describe("base functionality", func() {
})
AfterEach(func() {
originalNS.Close()
Expect(originalNS.Close()).To(Succeed())
Expect(testutils.UnmountNS(originalNS)).To(Succeed())
})
It("Works with a valid config without IPAM", func() {