vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood
2017-09-30 15:27:27 +01:00
parent 911d121bb9
commit b017fcfe9a
3048 changed files with 537055 additions and 189679 deletions
+3 -10
View File
@@ -76,15 +76,8 @@ func (s *fakeServer) wait() {
}
func (s *fakeServer) StreamingPull(stream pb.Subscriber_StreamingPullServer) error {
// Receive initial request.
_, err := stream.Recv()
if err == io.EOF {
return nil
}
if err != nil {
return err
}
// Consume and ignore subsequent requests.
s.wg.Add(1)
defer s.wg.Done()
errc := make(chan error, 1)
s.wg.Add(1)
go func() {
@@ -124,7 +117,7 @@ func (s *fakeServer) StreamingPull(stream pb.Subscriber_StreamingPullServer) err
// Add a slight delay to ensure the server receives any
// messages en route from the client before shutting down the stream.
// This reduces flakiness of tests involving retry.
time.Sleep(100 * time.Millisecond)
time.Sleep(200 * time.Millisecond)
}
if pr.err == io.EOF {
return nil