Unit tests ErrorSink and fixes a data race. Users of ErrorSink should now retrieve all errors which had started to be reported during any call to errs.All().
Calling errs.All() in the middle of a highly-contentious pipeline could now block indefinitely.
Unit tests ErrorSink and fixes a data race. Users of ErrorSink should now retrieve all errors which had started to be reported during any call to
errs.All()
.Calling
errs.All()
in the middle of a highly-contentious pipeline could now block indefinitely.