mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
Skip rather than fail networking tests on single node
This commit is contained in:
parent
1085ce6081
commit
ec2c963246
@ -448,7 +448,7 @@ func (config *NetworkingTestConfig) setup(selector map[string]string) {
|
|||||||
// fall back to legacy IPs
|
// fall back to legacy IPs
|
||||||
config.ExternalAddrs = NodeAddresses(nodeList, api.NodeLegacyHostIP)
|
config.ExternalAddrs = NodeAddresses(nodeList, api.NodeLegacyHostIP)
|
||||||
}
|
}
|
||||||
Expect(len(config.ExternalAddrs)).To(BeNumerically(">=", 2), fmt.Sprintf("At least two nodes necessary with an external or LegacyHostIP"))
|
SkipUnlessNodeCountIsAtLeast(2)
|
||||||
config.Nodes = nodeList.Items
|
config.Nodes = nodeList.Items
|
||||||
|
|
||||||
By("Creating the service on top of the pods in kubernetes")
|
By("Creating the service on top of the pods in kubernetes")
|
||||||
|
Loading…
Reference in New Issue
Block a user