Delete replica set and its pods as well rather than just deleting the replica set

pull/6/head
nikhiljindal 2016-02-25 15:26:58 -08:00
parent 48962b2a11
commit 2db2fba1b1
1 changed files with 1 additions and 1 deletions

View File

@ -575,7 +575,7 @@ func testPausedDeployment(f *Framework) {
newRS, err := deploymentutil.GetNewReplicaSet(*deployment, c)
Expect(err).NotTo(HaveOccurred())
Expect(c.Extensions().ReplicaSets(ns).Delete(newRS.Name, nil)).NotTo(HaveOccurred())
Expect(DeleteReplicaSet(unversionedClient, ns, newRS.Name)).NotTo(HaveOccurred())
deployment, err = c.Extensions().Deployments(ns).Get(deploymentName)
Expect(err).NotTo(HaveOccurred())