mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-11-03 23:40:03 +00:00 
			
		
		
		
	Fix density test
This commit is contained in:
		@@ -3367,7 +3367,7 @@ func DeleteRCAndWaitForGC(c *client.Client, ns, name string) error {
 | 
			
		||||
	if rc.Spec.Replicas < 5000 {
 | 
			
		||||
		timeout = 10 * time.Minute
 | 
			
		||||
	} else {
 | 
			
		||||
		timeout = time.Duration(rc.Spec.Replicas / gcThroughput)
 | 
			
		||||
		timeout = time.Duration(rc.Spec.Replicas / gcThroughput) * time.Second
 | 
			
		||||
	}
 | 
			
		||||
	err = waitForPodsInactive(ps, interval, timeout)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user