mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #105079 from aramase/remove-dualstack-test
test(dualstack): remove should have ipv4 and ipv6 node podCIDRs test
This commit is contained in:
commit
2f10e6587c
@ -68,22 +68,6 @@ var _ = common.SIGDescribe("[Feature:IPv6DualStack]", func() {
|
||||
}
|
||||
})
|
||||
|
||||
// Marking this as LinuxOnly because windows tests run against Azure CNI which doesn't publish
|
||||
// a podCIDR for each family.
|
||||
ginkgo.It("should have ipv4 and ipv6 node podCIDRs [LinuxOnly]", func() {
|
||||
// TODO (aramase) can switch to new function to get all nodes
|
||||
nodeList, err := e2enode.GetReadySchedulableNodes(cs)
|
||||
framework.ExpectNoError(err)
|
||||
|
||||
for _, node := range nodeList.Items {
|
||||
framework.ExpectEqual(len(node.Spec.PodCIDRs), 2)
|
||||
// assert podCIDR is same as podCIDRs[0]
|
||||
framework.ExpectEqual(node.Spec.PodCIDR, node.Spec.PodCIDRs[0])
|
||||
// assert one is ipv4 and other is ipv6
|
||||
framework.ExpectEqual(netutils.IsIPv4CIDRString(node.Spec.PodCIDRs[0]) != netutils.IsIPv4CIDRString(node.Spec.PodCIDRs[1]), true)
|
||||
}
|
||||
})
|
||||
|
||||
ginkgo.It("should create pod, add ipv6 and ipv4 ip to pod ips", func() {
|
||||
podName := "pod-dualstack-ips"
|
||||
|
||||
@ -121,7 +105,6 @@ var _ = common.SIGDescribe("[Feature:IPv6DualStack]", func() {
|
||||
})
|
||||
|
||||
// takes close to 140s to complete, so doesn't need to be marked [SLOW]
|
||||
// TODO (aramase) remove phase 2 tag once phase 2 of dual stack is merged
|
||||
ginkgo.It("should be able to reach pod on ipv4 and ipv6 ip", func() {
|
||||
serverDeploymentName := "dualstack-server"
|
||||
clientDeploymentName := "dualstack-client"
|
||||
|
Loading…
Reference in New Issue
Block a user