mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Fix a flake by extending the time out, so we don't race a go routine.
Empirically this eliminates a flake.
This commit is contained in:
parent
c7999a7f75
commit
d83091ea52
@ -425,7 +425,7 @@ func TestWatchFromOtherError(t *testing.T) {
|
||||
if ok {
|
||||
t.Fatalf("expected result channel to be closed")
|
||||
}
|
||||
case <-time.After(1 * time.Millisecond):
|
||||
case <-time.After(1 * time.Second):
|
||||
t.Fatalf("watch should have closed channel: %#v", watching)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user