mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 08:55:55 -04:00
Don't quit without printing API latencies in density test if it failed
This commit is contained in:
parent
a5133305a9
commit
a44e335940
1 changed files with 2 additions and 1 deletions
|
|
@ -386,7 +386,6 @@ var _ = SIGDescribe("Density", func() {
|
|||
framework.ExpectNoError(err)
|
||||
if err == nil {
|
||||
summaries = append(summaries, metrics)
|
||||
Expect(highLatencyRequests).NotTo(BeNumerically(">", 0), "There should be no high-latency requests")
|
||||
}
|
||||
|
||||
// Verify scheduler metrics.
|
||||
|
|
@ -401,6 +400,8 @@ var _ = SIGDescribe("Density", func() {
|
|||
|
||||
framework.PrintSummaries(summaries, testCaseBaseName)
|
||||
|
||||
// Fail if there were some high-latency requests.
|
||||
Expect(highLatencyRequests).NotTo(BeNumerically(">", 0), "There should be no high-latency requests")
|
||||
// Fail if more than the allowed threshold of measurements were missing in the latencyTest.
|
||||
Expect(missingMeasurements <= MaxMissingPodStartupMeasurements).To(Equal(true))
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue