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:
Kubernetes Prow Robot 2022-02-02 10:40:05 -08:00 committed by GitHub
commit 206922ee2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
})