mirror of https://github.com/k3s-io/k3s
Log information wrong while wait.ForeverTestTimeout
parent
4fdde68f78
commit
9be345cb8f
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue