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

Fix ignored error in benchmark tests #8214

Merged
merged 3 commits into from
Feb 26, 2021
Merged

Fix ignored error in benchmark tests #8214

merged 3 commits into from
Feb 26, 2021

Conversation

gui1117
Copy link
Contributor

@gui1117 gui1117 commented Feb 26, 2021

Currently if a benchmark fails and return error (instead of panicking) then the test ignores it.

That might worth a frame-benchmarking 3.1.1 release.

@gui1117 gui1117 requested a review from coriolinus February 26, 2021 15:53
@gui1117 gui1117 added A0-please_review Pull request needs code review. A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). 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. B3-apinoteworthy and removed B0-silent Changes should not be mentioned in any release notes labels Feb 26, 2021
@gui1117 gui1117 requested a review from shawntabrizi February 26, 2021 15:54
@bkchr bkchr merged commit a6ff3d3 into master Feb 26, 2021
@bkchr bkchr deleted the gui-fix-benchmark-tests branch February 26, 2021 18:51
jam10o-new pushed a commit to jam10o-new/substrate that referenced this pull request Feb 28, 2021
* fix ignored error in benchmark tests

* use normal format for str

* explicit match

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
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. A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). C1-low PR touches the given topic and has a low impact on builders.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants