-
Notifications
You must be signed in to change notification settings - Fork 1.2k
refactor: add a new flag disable_mocktime to set_test_params() #6242
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
refactor: add a new flag disable_mocktime to set_test_params() #6242
Conversation
UdjinM6
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.
Gitlab CI won't pick the branch for some reason, try rebasing/force-pushing maybe?
f48a8a1 to
ae71455
Compare
UdjinM6
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.
LGTM, utACK ae71455a8c909465838d43188c8f394cf47b0fa3
ae71455 to
5339eb6
Compare
Force pushed due to new functional test with no-mocktime: |
5339eb6 to
d21f6c8
Compare
It's better than re-implement setup_nodes each time when you want just disable mocktime. It seems more error prune and the code is shorter
… disable mocktime Credits to UdjinM6
d21f6c8 to
ef4d74a
Compare
UdjinM6
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 ef4d74a
kwvg
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 ef4d74a
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 ef4d74a
Issue being fixed or feature implemented
To disable mocktime you should re-implement setup_nodes(). It seems as bug-friendly solution
What was done?
This PR introduce a new flag "disable_mocktime" which can be set in
set_test_params.It seems more error prune and the code is shorter
How Has This Been Tested?
Run unit/functional tests including future changes from #6235
Breaking Changes
N/A
Checklist: