mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Merge pull request #14802 from brendandburns/fix2
Extend the timeout for the total integration test.
This commit is contained in:
commit
3337093e8c
@ -75,6 +75,8 @@ var (
|
|||||||
maxConcurrency int
|
maxConcurrency int
|
||||||
|
|
||||||
longTestTimeout = time.Second * 300
|
longTestTimeout = time.Second * 300
|
||||||
|
|
||||||
|
maxTestTimeout = time.Minute * 10
|
||||||
)
|
)
|
||||||
|
|
||||||
type fakeKubeletClient struct{}
|
type fakeKubeletClient struct{}
|
||||||
@ -265,6 +267,7 @@ func startComponents(firstManifestURL, secondManifestURL string) (string, string
|
|||||||
10*time.Second, /* MinimumGCAge */
|
10*time.Second, /* MinimumGCAge */
|
||||||
3*time.Second, /* NodeStatusUpdateFrequency */
|
3*time.Second, /* NodeStatusUpdateFrequency */
|
||||||
10*time.Second, /* SyncFrequency */
|
10*time.Second, /* SyncFrequency */
|
||||||
|
|
||||||
40 /* MaxPods */)
|
40 /* MaxPods */)
|
||||||
|
|
||||||
kubeletapp.RunKubelet(kcfg, nil)
|
kubeletapp.RunKubelet(kcfg, nil)
|
||||||
@ -963,7 +966,7 @@ func main() {
|
|||||||
|
|
||||||
go func() {
|
go func() {
|
||||||
defer util.FlushLogs()
|
defer util.FlushLogs()
|
||||||
time.Sleep(3 * time.Minute)
|
time.Sleep(maxTestTimeout)
|
||||||
glog.Fatalf("This test has timed out.")
|
glog.Fatalf("This test has timed out.")
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user