Merge pull request #14802 from brendandburns/fix2

Extend the timeout for the total integration test.
This commit is contained in:
Brendan Burns 2015-09-30 11:24:25 -07:00
commit 3337093e8c

View File

@ -75,6 +75,8 @@ var (
maxConcurrency int
longTestTimeout = time.Second * 300
maxTestTimeout = time.Minute * 10
)
type fakeKubeletClient struct{}
@ -265,6 +267,7 @@ func startComponents(firstManifestURL, secondManifestURL string) (string, string
10*time.Second, /* MinimumGCAge */
3*time.Second, /* NodeStatusUpdateFrequency */
10*time.Second, /* SyncFrequency */
40 /* MaxPods */)
kubeletapp.RunKubelet(kcfg, nil)
@ -963,7 +966,7 @@ func main() {
go func() {
defer util.FlushLogs()
time.Sleep(3 * time.Minute)
time.Sleep(maxTestTimeout)
glog.Fatalf("This test has timed out.")
}()