mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #107913 from mmiranda96/fix/stats-summary-validation-timeout
[Summary API [NodeConformance]] Increase timeout for initial /stats/summary validation
This commit is contained in:
commit
206922ee2b
@ -68,7 +68,7 @@ var _ = SIGDescribe("Summary API [NodeConformance]", func() {
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}, 2*time.Minute, 5*time.Second).Should(gomega.BeNil())
|
||||
}, time.Minute, 5*time.Second).Should(gomega.BeNil())
|
||||
|
||||
ginkgo.By("Waiting 15 seconds for cAdvisor to collect 2 stats points")
|
||||
time.Sleep(15 * time.Second)
|
||||
@ -324,7 +324,7 @@ var _ = SIGDescribe("Summary API [NodeConformance]", func() {
|
||||
|
||||
ginkgo.By("Validating /stats/summary")
|
||||
// Give pods a minute to actually start up.
|
||||
gomega.Eventually(getNodeSummary, 90*time.Second, 15*time.Second).Should(matchExpectations)
|
||||
gomega.Eventually(getNodeSummary, 180*time.Second, 15*time.Second).Should(matchExpectations)
|
||||
// Then the summary should match the expectations a few more times.
|
||||
gomega.Consistently(getNodeSummary, 30*time.Second, 15*time.Second).Should(matchExpectations)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user