Skip to content

test: clean up is node stopped - #27895

Merged
fanquake merged 1 commit into
bitcoin:masterfrom
dimitaracev:test-cleanup-is-node-stopped
Jun 15, 2023
Merged

fanquake merged 1 commit into
bitcoin:masterfrom
dimitaracev:test-cleanup-is-node-stopped

Conversation

@dimitaracev

@dimitaracev dimitaracev commented Jun 15, 2023 •

Copy link
Copy Markdown
Contributor

Fixes #27893

Use f'strings for the message when asserting expected_ret_code and return_code. Change the expected_ret_code from an optional to have a default value of 0.

cc MarcoFalke

@DrahtBot

DrahtBot commented Jun 15, 2023 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK stickies-v, MarcoFalke, brunoerg

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

@DrahtBot DrahtBot added the Tests label Jun 15, 2023
@dimitaracev
dimitaracev force-pushed the test-cleanup-is-node-stopped branch from e1d98be to 74395b2 Compare June 15, 2023 11:19

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, as mentioned previously, the expected_ret_code is always provided and will always have to be checked via the assert

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't notice that, done.

@dimitaracev
dimitaracev force-pushed the test-cleanup-is-node-stopped branch from 74395b2 to 6779e6e Compare June 15, 2023 12:14

@stickies-v stickies-v left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 6779e6e

@maflcko

maflcko commented Jun 15, 2023

Copy link
Copy Markdown
Member

lgtm ACK 6779e6e

@brunoerg brunoerg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 6779e6e

@fanquake
fanquake merged commit c454395 into bitcoin:master Jun 15, 2023
@bitcoin bitcoin locked and limited conversation to collaborators Jun 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test: Cleanup is_node_stopped

6 participants