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?

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
@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 added this to In progress in [OLD] Benchmarking and Weights via automation 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
[OLD] Benchmarking and Weights automation moved this from In progress to Done 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 <oliver.tale-yazdi@parity.io>

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
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
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

5 participants