Commit 50fb2845 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #37006 from jayunit100/skip_dont_fail

Automatic merge from submit-queue Skip rather than fail networking tests on single node **What this PR does / why we need it**: Needed for the general e2e tidying we need to do for flakey slow tests, imo pre 1.5, see #31402 and so on. **Which issue this PR fixes** * Dont fail multinode tests if on a single node cluster, skip instead.
parents ef079a31 ec2c9632
......@@ -473,7 +473,7 @@ func (config *NetworkingTestConfig) setup(selector map[string]string) {
// fall back to legacy IPs
config.ExternalAddrs = NodeAddresses(nodeList, v1.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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment