Merge pull request #47478 from cjcullen/logs

Automatic merge from submit-queue

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

GKE will not enable the /logs endpoint in 1.7. I'd like this test to still test the other cluster level endpoints.
pull/6/head
Kubernetes Submit Queue 2017-06-14 19:02:18 -07:00 committed by GitHub
commit bcccbc3d0b
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().