Skip to content

Commit a851aae

Browse files
authored
Merge pull request #1835 from marquiz/devel/e2e
test/e2e: simplify TestMain
2 parents f63e2b1 + 3e1c43d commit a851aae

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

test/e2e/e2e_test.go

-10
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import (
2929
"k8s.io/klog/v2"
3030
"k8s.io/kubernetes/test/e2e/framework"
3131
"k8s.io/kubernetes/test/e2e/framework/config"
32-
"k8s.io/kubernetes/test/e2e/framework/testfiles"
3332
)
3433

3534
var (
@@ -56,15 +55,6 @@ func TestMain(m *testing.M) {
5655

5756
framework.AfterReadingAllFlags(&framework.TestContext)
5857

59-
// TODO: Deprecating repo-root over time... instead just use gobindata_util.go , see #23987.
60-
// Right now it is still needed, for example by
61-
// test/e2e/framework/ingress/ingress_utils.go
62-
// for providing the optional secret.yaml file and by
63-
// test/e2e/framework/util.go for cluster/log-dump.
64-
if framework.TestContext.RepoRoot != "" {
65-
testfiles.AddFileSource(testfiles.RootFileSource{Root: framework.TestContext.RepoRoot})
66-
}
67-
6858
os.Exit(m.Run())
6959
}
7060

0 commit comments

Comments
 (0)