-
Notifications
You must be signed in to change notification settings - Fork 1.2k
test: disable mocktime in p2p_eviction.py #6121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PastaPastaPasta
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 35413f5d81c07e6e00d20992fdb36982b3641f64
|
ping @knst |
test/functional/p2p_eviction.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why bitcoin has it working? let's add here TODO maybe that it is just a temporary fix?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we enable mocktime by default and bitcoin enables it for some tests only (that's also why we have to bump mocktime instead of using sleep() in many tests btw)
that's fun, because locally p2p_eviction.py never fails on my both machines, but |
knst
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 540337a4567caa22977c93608f7da7358a6fe8f3
Co-authored-by: Konstantin Akimov <[email protected]>
540337a to
764b3a3
Compare
|
I squashed the two commits into one; no diff |
Issue being fixed or feature implemented
No idea why CI has no issues but
p2p_eviction.pyfails locally after #6103 (my guess is that it's because P2PInterface can't work with mocktime properly).What was done?
Disable mocktime in
p2p_eviction.pyHow Has This Been Tested?
Run tests locally
Breaking Changes
n/a
Checklist: