Replace stop with delete command in e2e test

This commit is contained in:
feihujiang
2015-12-14 15:49:05 +08:00
parent 229f40e69f
commit fd068b2887
2 changed files with 3 additions and 3 deletions

View File

@@ -775,7 +775,7 @@ var _ = Describe("Kubectl client", func() {
})
AfterEach(func() {
runKubectlOrDie("stop", "rc", rcName, nsFlag)
runKubectlOrDie("delete", "rc", rcName, nsFlag)
})
It("should create an rc from an image [Conformance]", func() {
@@ -818,7 +818,7 @@ var _ = Describe("Kubectl client", func() {
})
AfterEach(func() {
runKubectlOrDie("stop", "jobs", jobName, nsFlag)
runKubectlOrDie("delete", "jobs", jobName, nsFlag)
})
It("should create a job from an image when restart is OnFailure [Conformance]", func() {