mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-20 09:33:52 +00:00
Merge pull request #1049 from brendandburns/flake
Fix a flake by extending the time out, so we don't race a go routine.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user