Don't test the debug /logs endpoint on GKE.

pull/6/head
CJ Cullen 2017-06-13 17:31:16 -07:00
parent 85832892b1
commit 978ba06f8c
1 changed files with 3 additions and 1 deletions

View File

@ -59,12 +59,14 @@ var _ = framework.KubeDescribe("Networking", func() {
{path: "/healthz"},
{path: "/api"},
{path: "/apis"},
{path: "/logs"},
{path: "/metrics"},
{path: "/swaggerapi"},
{path: "/version"},
// TODO: test proxy links here
}
if !framework.ProviderIs("gke") {
tests = append(tests, struct{ path string }{path: "/logs"})
}
for _, test := range tests {
By(fmt.Sprintf("testing: %s", test.path))
data, err := f.ClientSet.Core().RESTClient().Get().