Merge pull request #100310 from soltysh/debug_ds_flake

Add more details to daemon set test
This commit is contained in:
Kubernetes Prow Robot
2021-03-16 11:41:05 -07:00
committed by GitHub

View File

@@ -1083,7 +1083,7 @@ func checkDaemonSetPodsLabels(podList *v1.PodList, hash string) {
podHash := pod.Labels[appsv1.DefaultDaemonSetUniqueLabelKey] podHash := pod.Labels[appsv1.DefaultDaemonSetUniqueLabelKey]
gomega.Expect(len(podHash)).To(gomega.BeNumerically(">", 0)) gomega.Expect(len(podHash)).To(gomega.BeNumerically(">", 0))
if len(hash) > 0 { if len(hash) > 0 {
framework.ExpectEqual(podHash, hash) framework.ExpectEqual(podHash, hash, "unexpected hash for pod %s", pod.Name)
} }
} }
} }