-
Notifications
You must be signed in to change notification settings - Fork 7
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
Shortcut timeout in PREPARE when outcome is determined #289
Conversation
@anorth I would love your early feedback on this please 🙏 |
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.
The changes to tryPrepare/Commit look right to me.
These will be hard to cover with sim tests, but we should endeavour to cover them with unit tests of participant/instance #9 (won't affect line coverage, which is too crude for us here).
5f4b29e
to
696b632
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #289 +/- ##
==========================================
+ Coverage 84.90% 85.29% +0.39%
==========================================
Files 14 14
Lines 1477 1476 -1
==========================================
+ Hits 1254 1259 +5
+ Misses 139 136 -3
+ Partials 84 81 -3
|
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.
I see you've reverted the change to commit phase. This PR can be good to merge if the title is updated and it does not automatically close #242.
1e8667b
to
e4f24f9
Compare
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.
I pushed a commit and adjusted the title and description so that I can approve this and you can merge when you are back online.
When sufficient justification is received do not wait for timeouts to expire in PREPARE phase. Part of #242
e4f24f9
to
518f739
Compare
When sufficient justification is received do not wait for timeouts to expire in PREPARE phase.
Part of #242