Skip rather than fail networking tests on single node

This commit is contained in:
jayunit100 2016-11-17 11:47:06 -05:00
parent 1085ce6081
commit ec2c963246

View File

@ -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")