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:
Daniel Smith 2014-08-26 21:00:23 -07:00
commit e1a361a84b

View File

@ -425,7 +425,7 @@ func TestWatchFromOtherError(t *testing.T) {
if ok { if ok {
t.Fatalf("expected result channel to be closed") 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) t.Fatalf("watch should have closed channel: %#v", watching)
} }