mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Add more details to daemon set test
This commit is contained in:
parent
2a26f276a8
commit
d30e79d090
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user