-
Notifications
You must be signed in to change notification settings - Fork 4
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
Rewrite ping #41
Rewrite ping #41
Conversation
Do not call net_kernel to connect to a node, if its name is not resolvable Do not disconnect from a node if ping fails
Add ping_pairs function ping_pairs does not use net_adm:ping anymore
Do pings before sending any messages to new nodes
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #41 +/- ##
==========================================
+ Coverage 98.00% 98.19% +0.18%
==========================================
Files 9 10 +1
Lines 652 719 +67
==========================================
+ Hits 639 706 +67
Misses 13 13 ☔ View full report in Codecov by Sentry. |
79206e5
to
5b403b7
Compare
fbaa71a
to
1ead59a
Compare
…esting There is a special test group for that. So, we test with logging enabled and disabled.
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.
Looks good in general. The test suite is becoming lengthy, and I was getting lost in the test cases...
Add setup_two_nodes_and_discovery helper function
Add disco_nodeup_triggers_check_and_get_nodes testcase There is a very high chance that there could be something new in the DB on nodeup - so trigger the DB read. Useful if we wanna know IPs after nodeup and IPs are stored in DB
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.
👌
Changes: