Add more details to daemon set test

This commit is contained in:
Maciej Szulik 2021-03-16 18:39:14 +01:00
parent 2a26f276a8
commit d30e79d090
No known key found for this signature in database
GPG Key ID: F15E55D276FA84C4

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