Skip to content

Conversation

@maflcko
Copy link
Member

@maflcko maflcko commented Mar 8, 2023

wait_until_helper is a "private" helper, not intended to be used directly, because it doesn't scale the timeout with the timeout factor. Fix this by replacing it with a call to self.wait_until, which does the scaling.

@DrahtBot
Copy link
Contributor

DrahtBot commented Mar 8, 2023

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 theStack
Concept ACK fanquake, brunoerg

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

@fanquake
Copy link
Member

fanquake commented Mar 8, 2023

Concept ACK. Will test under the CI

Copy link
Contributor

@brunoerg brunoerg left a comment

Choose a reason for hiding this comment

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

Concept ACK

@fanquake
Copy link
Member

fanquake commented Mar 8, 2023

I'm no-longer seeing #27208 with this change: p2p_ibd_stalling.py | ✓ Passed | 951 s.

Copy link
Contributor

@theStack theStack left a comment

Choose a reason for hiding this comment

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

Code-review ACK faa6715

@fanquake fanquake merged commit 6f5eb7a into bitcoin:master Mar 10, 2023
@maflcko maflcko deleted the 2303-test-wait-self-🛩 branch March 10, 2023 13:41
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Mar 10, 2023
faa6715 test: Use self.wait_until over wait_until_helper (MarcoFalke)

Pull request description:

  `wait_until_helper` is a "private" helper, not intended to be used directly, because it doesn't scale the timeout with the timeout factor. Fix this by replacing it with a call to `self.wait_until`, which does the scaling.

ACKs for top commit:
  theStack:
    Code-review ACK faa6715

Tree-SHA512: 70705f309f83ffd6ea5d090218195d05b868624d909106863372f861138b5a70887070b25beb25044ae1b44250345e45c9cc11191ae7aeca2ad37801a0f62f61
Fabcien pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Apr 3, 2023
Summary:
`wait_until_helper` is a "private" helper, not intended to be used directly, because it doesn't scale the timeout with the timeout factor. Fix this by replacing it with a call to `self.wait_until`, which does the scaling.

Backport of [[bitcoin/bitcoin#27226 | core#27226]]

Test Plan:
  ninja check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D13527
@bitcoin bitcoin locked and limited conversation to collaborators Mar 9, 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.

5 participants