mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 21:53:52 +00:00
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.
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user