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

@ -54,6 +54,7 @@ var _ = Describe("Loopback", func() {
AfterEach(func() {
Expect(networkNS.Close()).To(Succeed())
Expect(testutils.UnmountNS(networkNS)).To(Succeed())
})
Context("when given a network namespace", func() {