mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-08-08 23:37:11 +00:00
The test was previously asserting that in a dual-stack cluster, every node had exactly 2 InternalIPs, where 1 was IPv4 and 1 was IPv6. Even ignoring the possibility of having some single-stack nodes in a dual-stack cluster, this test was wrong since (a) it didn't allow nodes to have additional non-primary node IPs, and (b) it discriminated against ExternalIPs. Fix it to just assert that in a dual-stack cluster, at least 1 node has at least 1 IPv4 IP and at least 1 IPv6 IP.
35 KiB
35 KiB