소스 검색

integration/network: remove unuset setupTest()

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 6 년 전
부모
커밋
4b13f69882
2개의 변경된 파일0개의 추가작업 그리고 10개의 파일을 삭제
  1. 0 5
      integration/network/ipvlan/main_test.go
  2. 0 5
      integration/network/macvlan/main_test.go

+ 0 - 5
integration/network/ipvlan/main_test.go

@@ -28,8 +28,3 @@ func TestMain(m *testing.M) {
 	testEnv.Print()
 	testEnv.Print()
 	os.Exit(m.Run())
 	os.Exit(m.Run())
 }
 }
-
-func setupTest(t *testing.T) func() {
-	environment.ProtectAll(t, testEnv)
-	return func() { testEnv.Clean(t) }
-}

+ 0 - 5
integration/network/macvlan/main_test.go

@@ -28,8 +28,3 @@ func TestMain(m *testing.M) {
 	testEnv.Print()
 	testEnv.Print()
 	os.Exit(m.Run())
 	os.Exit(m.Run())
 }
 }
-
-func setupTest(t *testing.T) func() {
-	environment.ProtectAll(t, testEnv)
-	return func() { testEnv.Clean(t) }
-}