mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Merge pull request #29541 from lixiaobing10051267/masterTimeOut2
Automatic merge from submit-queue Log information wrong while wait.ForeverTestTimeout
This commit is contained in:
		@@ -481,7 +481,7 @@ func TestWatchControllers(t *testing.T) {
 | 
			
		||||
	select {
 | 
			
		||||
	case <-received:
 | 
			
		||||
	case <-time.After(wait.ForeverTestTimeout):
 | 
			
		||||
		t.Errorf("Expected 1 call but got 0")
 | 
			
		||||
		t.Errorf("unexpected timeout from result channel")
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -528,7 +528,7 @@ func TestWatchPods(t *testing.T) {
 | 
			
		||||
	select {
 | 
			
		||||
	case <-received:
 | 
			
		||||
	case <-time.After(wait.ForeverTestTimeout):
 | 
			
		||||
		t.Errorf("Expected 1 call but got 0")
 | 
			
		||||
		t.Errorf("unexpected timeout from result channel")
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -466,7 +466,7 @@ func TestWatchControllers(t *testing.T) {
 | 
			
		||||
	select {
 | 
			
		||||
	case <-received:
 | 
			
		||||
	case <-time.After(wait.ForeverTestTimeout):
 | 
			
		||||
		t.Errorf("Expected 1 call but got 0")
 | 
			
		||||
		t.Errorf("unexpected timeout from result channel")
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -512,7 +512,7 @@ func TestWatchPods(t *testing.T) {
 | 
			
		||||
	select {
 | 
			
		||||
	case <-received:
 | 
			
		||||
	case <-time.After(wait.ForeverTestTimeout):
 | 
			
		||||
		t.Errorf("Expected 1 call but got 0")
 | 
			
		||||
		t.Errorf("unexpected timeout from result channel")
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user