Merge pull request #20865 from maisem/master

Adding a readiness probe to kubectl e2e tests.
This commit is contained in:
Maisem Ali
2016-02-11 12:55:15 -08:00
9 changed files with 24 additions and 7 deletions

View File

@@ -170,8 +170,8 @@ var _ = Describe("Kubectl client", func() {
var podPath string
BeforeEach(func() {
podPath = filepath.Join(testContext.RepoRoot, "docs/user-guide/pod.yaml")
By("creating the pod")
podPath = filepath.Join(testContext.RepoRoot, "test", "e2e", "testing-manifests", "kubectl", "pod-with-readiness-probe.yaml")
By(fmt.Sprintf("creating the pod from %v", podPath))
runKubectlOrDie("create", "-f", podPath, fmt.Sprintf("--namespace=%v", ns))
checkPodsRunningReady(c, ns, []string{simplePodName}, podStartTimeout)
})