-
Notifications
You must be signed in to change notification settings - Fork 80
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
core/tracker: improve failed duty message #972
Conversation
Codecov Report
@@ Coverage Diff @@
## main #972 +/- ##
==========================================
+ Coverage 54.21% 54.36% +0.15%
==========================================
Files 116 116
Lines 12846 12883 +37
==========================================
+ Hits 6964 7004 +40
+ Misses 4860 4859 -1
+ Partials 1022 1020 -2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
b2b6cf4
to
26d083e
Compare
26d083e
to
9f325db
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.
Tests?
Added tests |
core/tracker/tracker.go
Outdated
} | ||
} | ||
case consensus: | ||
msg = "consensus algorithm didn't complete" |
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.
maybe make these constants, so comparison and tests and updates are trivial.
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.
agreed, great idea
Improve failed duty message.
category: refactor
ticket: #866