Merge pull request #35395 from jayunit100/density-log-verify

Automatic merge from submit-queue

dont fail if metrics arent working in density

fixes #35369
pull/6/head
Kubernetes Submit Queue 2016-10-25 11:01:54 -07:00 committed by GitHub
commit ef7850e3bc
1 changed files with 3 additions and 1 deletions

View File

@ -381,7 +381,9 @@ var _ = framework.KubeDescribe("Density", func() {
// Verify scheduler metrics.
// TODO: Reset metrics at the beginning of the test.
// We should do something similar to how we do it for APIserver.
framework.ExpectNoError(framework.VerifySchedulerLatency(c))
if err = framework.VerifySchedulerLatency(c); err != nil {
framework.Logf("Warning: Scheduler latency not calculated, %v", err)
}
})
// Explicitly put here, to delete namespace at the end of the test