mirror of https://github.com/k3s-io/k3s
Merge pull request #4190 from zmerlynn/kill_e2e_timeout
Remove timeout from cmd/e2e now that all tests are under itpull/6/head
commit
7a21bed3c7
|
@ -20,7 +20,6 @@ import (
|
|||
"path"
|
||||
"regexp"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/util"
|
||||
"github.com/golang/glog"
|
||||
|
@ -48,17 +47,6 @@ func RunE2ETests(authConfig, certDir, host, repoRoot, provider string, orderseed
|
|||
util.InitLogs()
|
||||
defer util.FlushLogs()
|
||||
|
||||
// TODO: Associate a timeout with each test individually.
|
||||
go func() {
|
||||
defer util.FlushLogs()
|
||||
// TODO: We should modify testSpec to include an estimated running time
|
||||
// for each test and use that information to estimate a timeout
|
||||
// value. Until then, as we add more tests (and before we move to
|
||||
// parallel testing) we need to adjust this value as we add more tests.
|
||||
time.Sleep(40 * time.Minute)
|
||||
glog.Fatalf("This test has timed out. Cleanup not guaranteed.")
|
||||
}()
|
||||
|
||||
if len(testList) != 0 {
|
||||
if config.GinkgoConfig.FocusString != "" || config.GinkgoConfig.SkipString != "" {
|
||||
glog.Fatal("Either specify --test/-t or --ginkgo.focus/--ginkgo.skip but not both.")
|
||||
|
|
Loading…
Reference in New Issue