From 7a7e059ac6aedcd7133451698f7b06b3ffec4578 Mon Sep 17 00:00:00 2001 From: "Dr. Stefan Schimanski" Date: Mon, 22 Aug 2016 13:07:16 +0200 Subject: [PATCH] Add some docs about the missing node e2e scheduling --- docs/devel/e2e-node-tests.md | 2 ++ test/e2e/framework/pods.go | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/devel/e2e-node-tests.md b/docs/devel/e2e-node-tests.md index 3feaf7612c9..de993b8c0e9 100644 --- a/docs/devel/e2e-node-tests.md +++ b/docs/devel/e2e-node-tests.md @@ -42,6 +42,8 @@ Node e2e tests are run as both pre- and post- submit tests by the Kubernetes pro *Note: Linux only. Mac and Windows unsupported.* +*Note: There is no scheduler running. The e2e tests have to do manual scheduling, e.g. by using `framework.PodClient`.* + # Running tests ## Locally diff --git a/test/e2e/framework/pods.go b/test/e2e/framework/pods.go index b82807825c7..d82881d6e1b 100644 --- a/test/e2e/framework/pods.go +++ b/test/e2e/framework/pods.go @@ -30,7 +30,9 @@ import ( . "github.com/onsi/gomega" ) -// Convenience method for getting a pod client interface in the framework's namespace. +// Convenience method for getting a pod client interface in the framework's namespace, +// possibly applying test-suite specific transformations to the pod spec, e.g. for +// node e2e pod scheduling. func (f *Framework) PodClient() *PodClient { return &PodClient{ f: f,