Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Dont ignore errors in pallet benchmarking #12449

Merged
merged 1 commit into from
Oct 10, 2022

Conversation

ggwpez
Copy link
Member

@ggwpez ggwpez commented Oct 7, 2022

The error return value of pallet benchmarks were ignored outside of cargo test and nobody noticed 🙈 Until @koute did, thanks!
It is also difficult to notice, since cargo test fails but cargo run just ignores it.
@koute can you double check that this fixes it?

@ggwpez ggwpez added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Oct 7, 2022
@ggwpez ggwpez requested a review from koute October 10, 2022 09:49
@ggwpez
Copy link
Member Author

ggwpez commented Oct 10, 2022

bot merge

@paritytech-processbot paritytech-processbot bot merged commit df81976 into master Oct 10, 2022
@paritytech-processbot paritytech-processbot bot deleted the oty-dont-ignore-error branch October 10, 2022 14:25
@koute
Copy link
Contributor

koute commented Oct 11, 2022

Yep, looks like this does fix it! Thanks!

ark0f pushed a commit to gear-tech/substrate that referenced this pull request Feb 27, 2023
Signed-off-by: Oliver Tale-Yazdi <[email protected]>

Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants