Skip to content
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

cmd: move ctx check before writing to channel #3054

Merged
merged 3 commits into from
Apr 30, 2024

Conversation

KaloyanTanev
Copy link
Contributor

Fix writing to closed channel error.

category: bug
ticket: #3053

@KaloyanTanev KaloyanTanev self-assigned this Apr 29, 2024
@KaloyanTanev KaloyanTanev changed the title Move ctx check before writing to channel cmd: move ctx check before writing to channel Apr 29, 2024
cmd/testpeers.go Outdated Show resolved Hide resolved
cmd/testpeers.go Outdated Show resolved Hide resolved
Copy link

sonarcloud bot commented Apr 29, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

codecov bot commented Apr 29, 2024

Codecov Report

Attention: Patch coverage is 0% with 25 lines in your changes are missing coverage. Please review.

Project coverage is 54.57%. Comparing base (fff580a) to head (68d425f).
Report is 1 commits behind head on main.

Files Patch % Lines
cmd/testpeers.go 0.00% 25 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3054      +/-   ##
==========================================
- Coverage   54.63%   54.57%   -0.06%     
==========================================
  Files         207      207              
  Lines       29145    29152       +7     
==========================================
- Hits        15922    15911      -11     
- Misses      11383    11400      +17     
- Partials     1840     1841       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@KaloyanTanev KaloyanTanev requested a review from gsora April 29, 2024 20:06
@KaloyanTanev KaloyanTanev added the merge when ready Indicates bulldozer bot may merge when all checks pass label Apr 30, 2024
@obol-bulldozer obol-bulldozer bot merged commit aaf1730 into main Apr 30, 2024
12 checks passed
@obol-bulldozer obol-bulldozer bot deleted the kalo/test-ping-continuously-closed-channel branch April 30, 2024 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge when ready Indicates bulldozer bot may merge when all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants