-
Notifications
You must be signed in to change notification settings - Fork 136
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
Bump TP to 0.1.13 for CI #1310
Bump TP to 0.1.13 for CI #1310
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1310 +/- ##
==========================================
- Coverage 19.29% 17.04% -2.26%
==========================================
Files 164 162 -2
Lines 10852 10761 -91
==========================================
- Hits 2094 1834 -260
- Misses 8758 8927 +169
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Bencher Report
Click to view all benchmark results
|
Bencher Report
Click to view all benchmark results
|
Bencher Report
🚨 4 Alerts
Click to view all benchmark results
|
Integration tests seems to fail here https://github.com/stratum-mining/stratum/blob/main/roles/tests-integration/tests/pool_integration.rs#L58 |
The pool_integration test fails mysteriously here: assert_tp_message!(&sniffer.next_message_from_upstream(), NewTemplate); Looking at the Bitcoin Core log the message does arrive. It does take a bit longer, about little under half a second. So I tried adding: std::thread::sleep(std::time::Duration::from_millis(1000)); But that didn't help. I can reproduce the issue locally as well. Any ideas? cc @jbesraa Afaik the only difference between these versions is a slight delay between |
Here is a fix: Instead of checking immediately for |
8d792b6
to
4f8348a
Compare
@jbesraa thanks! I took your fix. Also improved the TP logging a bit in the tests. |
of failing if it is not there yet when we first check
Also log rpc calls.
4f8348a
to
c4bd2bb
Compare
It's had enough manual testing that I feel good about this release. Let's make sure there's breaking changes I missed though.