Fix nsFlag scope in kubectl-run e2e test

This commit is contained in:
Dr. Stefan Schimanski 2016-07-04 11:39:05 +02:00
parent ed3a29bd6a
commit 36afe2a43a

View File

@ -1089,10 +1089,11 @@ var _ = framework.KubeDescribe("Kubectl client", func() {
})
framework.KubeDescribe("Kubectl run --rm job", func() {
nsFlag := fmt.Sprintf("--namespace=%v", ns)
jobName := "e2e-test-rm-busybox-job"
It("should create a job from an image, then delete the job [Conformance]", func() {
nsFlag := fmt.Sprintf("--namespace=%v", ns)
// The rkt runtime doesn't support attach, see #23335
framework.SkipIfContainerRuntimeIs("rkt")
framework.SkipUnlessServerVersionGTE(jobsVersion, c)