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:
Brendan Burns 2014-08-26 17:09:38 -07:00
parent c7999a7f75
commit d83091ea52

View File

@ -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)
}