Skip to content

housekeeping: Replace status.Errorf with helper.ErrXXXf

Pavlo Strokov requested to merge ps-houskeeping-fixes into master

Code changed to use wrappers from the helper package for proper error creation. Also the old variant of wrapping an error with %v is replaced with %w that allows to work with errors in a better way. And the last point is adding of the t.Parallel() to the tests. This addition speed up tests execution from 66.983s to 57.024s on my local. It should improve time on CI as well.

Part of #4471 (closed)

Edited by Pavlo Strokov

Merge request reports