Skip TestClusterDNS on GKE (since DNS is disabled there)

We'll eventually want to do something fancier here. But the yak needs
to stop growing hair.
This commit is contained in:
Zach Loafman 2015-01-07 17:11:25 -08:00
parent 963000715a
commit f30846ecd5

View File

@ -447,6 +447,15 @@ func outputTAPSummary(infoList []TestInfo) {
// TestClusterDNS checks that cluster DNS works.
func TestClusterDNS(c *client.Client) bool {
// TODO:
// https://github.com/GoogleCloudPlatform/kubernetes/issues/3305
// (but even if it's fixed, this will need a version check for
// skewed version tests)
if os.Getenv("KUBERNETES_PROVIDER") == "gke" {
glog.Infof("skipping TestClusterDNS on gke")
return true
}
podClient := c.Pods(api.NamespaceDefault)
//TODO: Wait for skyDNS