mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
Merge pull request #24257 from zmerlynn/1000nodes
Automatic merge from submit-queue Fix DNS test for larger clusters On GKE, we scale the number of DNS pods based on the cluster size. For testing on larger clusters, relax the DNS pod check.
This commit is contained in:
commit
1c80864913
@ -226,8 +226,8 @@ func verifyDNSPodIsRunning(f *framework.Framework) {
|
||||
if err != nil {
|
||||
framework.Failf("Failed to list all dns service pods")
|
||||
}
|
||||
if len(dnsPods.Items) != 1 {
|
||||
framework.Failf("Unexpected number of pods (%d) matches the label selector %v", len(dnsPods.Items), dnsServiceLabelSelector.String())
|
||||
if len(dnsPods.Items) < 1 {
|
||||
framework.Failf("No pods match the label selector %v", dnsServiceLabelSelector.String())
|
||||
}
|
||||
framework.ExpectNoError(framework.WaitForPodRunningInNamespace(f.Client, dnsPods.Items[0].Name, api.NamespaceSystem))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user