Commit 9be345cb authored by lixiaobing10051267's avatar lixiaobing10051267

Log information wrong while wait.ForeverTestTimeout

parent 4fdde68f
...@@ -481,7 +481,7 @@ func TestWatchControllers(t *testing.T) { ...@@ -481,7 +481,7 @@ func TestWatchControllers(t *testing.T) {
select { select {
case <-received: case <-received:
case <-time.After(wait.ForeverTestTimeout): 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) { ...@@ -528,7 +528,7 @@ func TestWatchPods(t *testing.T) {
select { select {
case <-received: case <-received:
case <-time.After(wait.ForeverTestTimeout): 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) { ...@@ -466,7 +466,7 @@ func TestWatchControllers(t *testing.T) {
select { select {
case <-received: case <-received:
case <-time.After(wait.ForeverTestTimeout): 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) { ...@@ -512,7 +512,7 @@ func TestWatchPods(t *testing.T) {
select { select {
case <-received: case <-received:
case <-time.After(wait.ForeverTestTimeout): case <-time.After(wait.ForeverTestTimeout):
t.Errorf("Expected 1 call but got 0") t.Errorf("unexpected timeout from result channel")
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment