mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
Fix nsFlag scope in kubectl-run e2e test
This commit is contained in:
parent
ed3a29bd6a
commit
36afe2a43a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user