mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Merge pull request #102635 from charlesxsh/fix-linux-test
fix a potential deadlock in graceful node shutdown unit tests
This commit is contained in:
		@@ -211,7 +211,7 @@ func TestManager(t *testing.T) {
 | 
				
			|||||||
				GracePeriod int64
 | 
									GracePeriod int64
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			podKillChan := make(chan PodKillInfo)
 | 
								podKillChan := make(chan PodKillInfo, 1)
 | 
				
			||||||
			killPodsFunc := func(pod *v1.Pod, status v1.PodStatus, gracePeriodOverride *int64) error {
 | 
								killPodsFunc := func(pod *v1.Pod, status v1.PodStatus, gracePeriodOverride *int64) error {
 | 
				
			||||||
				var gracePeriod int64
 | 
									var gracePeriod int64
 | 
				
			||||||
				if gracePeriodOverride != nil {
 | 
									if gracePeriodOverride != nil {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user