mirror of https://github.com/k3s-io/k3s
Merge pull request #22026 from nikhiljindal/pausedeploymente2e
Fixing paused deployment e2e flake: Delete replica set and its pods as well rather than just deleting the replica setpull/6/head
commit
6327ea9bd2
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue