mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 08:17:26 +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
|
||||
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
|
||||
|
||||
By("Creating the service on top of the pods in kubernetes")
|
||||
|
Loading…
Reference in New Issue
Block a user