-
Notifications
You must be signed in to change notification settings - Fork 214
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
[Merged by Bors] - hare3: simpify and deflake synchronization in cluster tests #5033
[Merged by Bors] - hare3: simpify and deflake synchronization in cluster tests #5033
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #5033 +/- ##
=========================================
- Coverage 77.0% 77.0% -0.1%
=========================================
Files 257 257
Lines 30242 30236 -6
=========================================
- Hits 23314 23308 -6
- Misses 5401 5402 +1
+ Partials 1527 1526 -1
|
a0793c5
to
1476d8f
Compare
i didn't observe any failures during the day. will merge and see if i missed something |
bors merge |
closes: #4990 there are 2 important events that needs to be in sync: 1. walltime.Sub(t.clock.Now()) needs to be called after call to Advance in tests 2. Advance needs to be called after all eligible messages were processed 1st synchronization point is realized by waiting on computing vrf. code calls Advance, and waits for read on eligibility channel. note that event is submitted even if eligibility is nil. 2nd synchronization point is realized by waiting until message is processed by all nodes in the cluster. code calls Publish, when Publish exists message was delivered and processed by every node. so when read on sent channel is received we know that all messages were processed.
Build failed: |
known flaky test #4171 bors merge |
closes: #4990 there are 2 important events that needs to be in sync: 1. walltime.Sub(t.clock.Now()) needs to be called after call to Advance in tests 2. Advance needs to be called after all eligible messages were processed 1st synchronization point is realized by waiting on computing vrf. code calls Advance, and waits for read on eligibility channel. note that event is submitted even if eligibility is nil. 2nd synchronization point is realized by waiting until message is processed by all nodes in the cluster. code calls Publish, when Publish exists message was delivered and processed by every node. so when read on sent channel is received we know that all messages were processed.
Build failed: |
known flaky test bors merge |
closes: #4990 there are 2 important events that needs to be in sync: 1. walltime.Sub(t.clock.Now()) needs to be called after call to Advance in tests 2. Advance needs to be called after all eligible messages were processed 1st synchronization point is realized by waiting on computing vrf. code calls Advance, and waits for read on eligibility channel. note that event is submitted even if eligibility is nil. 2nd synchronization point is realized by waiting until message is processed by all nodes in the cluster. code calls Publish, when Publish exists message was delivered and processed by every node. so when read on sent channel is received we know that all messages were processed.
Pull request successfully merged into develop. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
closes: #4990
there are 2 important events that needs to be in sync:
1st synchronization point is realized by waiting on computing vrf. code calls Advance, and waits for read on eligibility channel. note that event is submitted even if eligibility is nil.
2nd synchronization point is realized by waiting until message is processed by all nodes in the cluster. code calls Publish, when Publish exists message was delivered and processed by every node. so when read on sent channel is received we know that all messages were processed.