This avoids confusion with the wait_until member functions, which should be preferred because they take the appropriate locks and scale the timeout appropriately on their own.
test: Rename wait until helper to wait_until_helper #19816
pull MarcoFalke wants to merge 3 commits into bitcoin:master from MarcoFalke:2008-testWaithelper changing 7 files +27 −26-
MarcoFalke commented at 6:52 AM on August 27, 2020: member
- fanquake added the label Tests on Aug 27, 2020
- MarcoFalke force-pushed on Aug 27, 2020
-
in test/functional/test_framework/util.py:235 in fa40d02914 outdated
234 | - from `BitcoinTestFramework` or `P2PInterface` class ensures an understandable 235 | - amount of timeout and a common shared timeout_factor. Furthermore, `wait_until()` 236 | + not aware of the context of the test framework. Using the `wait_until()` members 237 | + from `BitcoinTestFramework` or `P2PInterface` class ensures the timeout is 238 | + properly scaled. Furthermore, `wait_until()` 239 | from `P2PInterface` class in `mininode.py` has a preset lock.
MarcoFalke commented at 9:48 AM on August 27, 2020:thx, fixed
hebasto changes_requestedhebasto commented at 9:33 AM on August 27, 2020: memberApproach ACK fa1850fb59e4697622fa00c640f9fc6e18ee1a8d
test: Remove unused p2p_lock in VersionBitsWarningTest facb41bf1dMarcoFalke force-pushed on Aug 27, 2020test: Rename wait until helper to wait_until_helper fad2794e93test: Remove unused lock arg from BitcoinTestFramework.wait_until fa1cd9e1ddMarcoFalke force-pushed on Aug 27, 2020theStack commented at 10:48 AM on August 28, 2020: memberConcept ACK
laanwj commented at 11:39 AM on September 1, 2020: memberCode review ACK fa1cd9e1ddc6918c3d600d36eadea71eebb242b6
hebasto approvedhebasto commented at 1:55 PM on September 1, 2020: memberACK fa1cd9e1ddc6918c3d600d36eadea71eebb242b6, I have reviewed the code and it looks OK, I agree it can be merged.
fanquake merged this on Sep 3, 2020fanquake closed this on Sep 3, 2020MarcoFalke deleted the branch on Sep 3, 2020sidhujag referenced this in commit 1d62744a55 on Sep 3, 2020deadalnix referenced this in commit 1c87cbc205 on Sep 22, 2021deadalnix referenced this in commit 97af018aaa on Sep 22, 2021DrahtBot locked this on Feb 15, 2022ContributorsLabels
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:14 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:14 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me