Skip to content

Commit

Permalink
Merge pull request #1835 from marquiz/devel/e2e
Browse files Browse the repository at this point in the history
test/e2e: simplify TestMain
  • Loading branch information
k8s-ci-robot committed Aug 14, 2024
2 parents f63e2b1 + 3e1c43d commit a851aae
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import (
"k8s.io/klog/v2"
"k8s.io/kubernetes/test/e2e/framework"
"k8s.io/kubernetes/test/e2e/framework/config"
"k8s.io/kubernetes/test/e2e/framework/testfiles"
)

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

framework.AfterReadingAllFlags(&framework.TestContext)

// TODO: Deprecating repo-root over time... instead just use gobindata_util.go , see #23987.
// Right now it is still needed, for example by
// test/e2e/framework/ingress/ingress_utils.go
// for providing the optional secret.yaml file and by
// test/e2e/framework/util.go for cluster/log-dump.
if framework.TestContext.RepoRoot != "" {
testfiles.AddFileSource(testfiles.RootFileSource{Root: framework.TestContext.RepoRoot})
}

os.Exit(m.Run())
}

Expand Down

0 comments on commit a851aae

Please sign in to comment.