浏览代码

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()
 	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()
 	os.Exit(m.Run())
 }
-
-func setupTest(t *testing.T) func() {
-	environment.ProtectAll(t, testEnv)
-	return func() { testEnv.Clean(t) }
-}