Repository navigation
test: Fix failing time check in rpc_net.py - #28671
Merged
Merged
Conversation
Contributor
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code CoverageFor detailed information about the code coverage, see the test coverage report. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. |
Contributor
|
ACK fa4c683 You could reference your initial report in the OP. |
pinheadmz
approved these changes
Oct 18, 2023
pinheadmz
left a comment
Member
There was a problem hiding this comment.
ACK fa4c683
Nice simple fix. Confirmed locally that setmocktime precisely sets the addr info and otherwise there will always be some discrepancy between when the addr is added and when it is read from the RPC
Show Signature
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
ACK fa4c6836c9366c3cc575cb386a397840d5f1aa57
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE5hdzzW4BBA4vG9eM5+KYS2KJyToFAmUwIacACgkQ5+KYS2KJ
yTqv8g//SCGTyKRK2ZEiZc6fWnrjDixHTjsl5IIY8Z+TkTkKL0LFiyPhJpQRGS1H
3NUiju5eVQ4IoCDWwl7ruTv+CTn+wMHU5oxCP8CN/Db8oBavw8iHTKSJ9LVsRrp2
Nno4pmoG/+Ym24ECC+eJY9Glj5wHgLXYi+TK5vKU7zeMk0L0Zsm5qgR5+apPPGFq
6CBcPyalesdZRHX7eII81HHh1c4aCNUkEMAO3uCAtUFB12jAuv/3Vb9QrEaeEoZg
gTDVtc1Na8nX8X5qZ3TKYlgIooYzEl0qAe09waA3kwLJUafODcBwsJQFbZ57ahHc
jWeLFE5kBQoRa4AKv8/uZpwO60vJgwhE/VyQMkaUIxBdKQj9yjs00pdgneWMSoPi
Je40migaL2e55rSPRENNCwuwitTxL7a9TLzQdxH0o3xxgaLiCLmhRPQx0aqcwvJv
4kjJjsGWVluXpto/zd9ffMmUcpcFYTLyrJw7eL57jGBumUmJwMjruEPSn8vAA8a2
vUley1CXkirQV+tHlf74k1Pr4s3FLJaNh1BZHOg9QPKfRBPmtZ0WLUsK5YV10hsD
eVSK0lq/+WKAgEaX/lzT/+B7H0dINHEnxU7nYh+vBWT5XuDjfFIO9OyP32u22F1I
dxm6Vlc0UmP6UmsNq65nUI1uVBvy9Gd3a++POiTAZJV80x0afRQ=
=aB67
-----END PGP SIGNATURE-----
pinheadmz's public key is on keybase
brunoerg
approved these changes
Oct 18, 2023
Frank-GER
pushed a commit
to syscoin/syscoin
that referenced
this pull request
Oct 21, 2023
fa4c683 test: Fix failing time check in rpc_net.py (MarcoFalke) Pull request description: This check fails on slow runners, such as s390x qemu. Fix it by using mocktime. See bitcoin#28523 (comment) ACKs for top commit: 0xB10C: ACK fa4c683 pinheadmz: ACK fa4c683 brunoerg: crACK fa4c683 Tree-SHA512: 83fb534682e11e97537dc89de8c16f206f38af1a892a2d5970c02684c05eaea8fc9adba3159f16b2440ca0b3871d513a0562a6f3a38f19a5574a47be0919e42f
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This check fails on slow runners, such as s390x qemu.
Fix it by using mocktime.
See #28523 (comment)