Log information wrong while wait.ForeverTestTimeout
This commit is contained in:
@@ -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