Merge pull request #29541 from lixiaobing10051267/masterTimeOut2

Automatic merge from submit-queue

Log information wrong while wait.ForeverTestTimeout
This commit is contained in:
k8s-merge-robot
2016-07-27 21:06:52 -07:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -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")
}
}

View File

@@ -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")
}
}