mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	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 set
This commit is contained in:
		@@ -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())
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user