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
commit 99b5ec8367
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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