Disable a couple of e2e tests for vagrant for now.

The core issue is that vagrant lacks connectivity from master to containers.
This commit is contained in:
Joe Beda 2015-01-16 14:52:33 -08:00
parent 611be41aa5
commit 20c594066b
2 changed files with 10 additions and 0 deletions

View File

@ -37,6 +37,11 @@ func TestClusterDNS(c *client.Client) bool {
return true return true
} }
if testContext.provider == "vagrant" {
glog.Infof("Skipping test which is broken for vagrant (See https://github.com/GoogleCloudPlatform/kubernetes/issues/3580)")
return true
}
podClient := c.Pods(api.NamespaceDefault) podClient := c.Pods(api.NamespaceDefault)
//TODO: Wait for skyDNS //TODO: Wait for skyDNS

View File

@ -25,6 +25,11 @@ import (
) )
func TestNetwork(c *client.Client) bool { func TestNetwork(c *client.Client) bool {
if testContext.provider == "vagrant" {
glog.Infof("Skipping test which is broken for vagrant (See https://github.com/GoogleCloudPlatform/kubernetes/issues/3580)")
return true
}
ns := api.NamespaceDefault ns := api.NamespaceDefault
svc, err := c.Services(ns).Create(loadObjectOrDie(assetPath( svc, err := c.Services(ns).Create(loadObjectOrDie(assetPath(
"contrib", "for-tests", "network-tester", "service.json", "contrib", "for-tests", "network-tester", "service.json",