-
Notifications
You must be signed in to change notification settings - Fork 851
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
imp(tests): Check voting has concluded in automated upgrade tests #2235
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2235 +/- ##
==========================================
- Coverage 70.72% 70.53% -0.20%
==========================================
Files 293 293
Lines 22551 22613 +62
==========================================
Hits 15950 15950
- Misses 5734 5796 +62
Partials 867 867
|
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.
tACK. Maybe we should consider renaming these tests to upgrade
?
Definitely want to adjust the names on these - for that I want to port the |
Description
This PR improves the automated upgrade tests, by making sure that the proposal actually has passed when stopping the original node and before starting the upgraded node.
To prevent some future problems when adjusting e.g.
init-node.sh
the scheduled upgrade height is calculated dynamically from thetimeout_commit
andvoting_period
of the running node.