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

Fix race condition in test #2785

Merged
merged 1 commit into from
Jun 16, 2024
Merged

Fix race condition in test #2785

merged 1 commit into from
Jun 16, 2024

Conversation

aler9
Copy link
Member

@aler9 aler9 commented Jun 10, 2024

Backport of #2784

In TestPeerConnection_Zero_PayloadType, WriteSample might be called
after closePairNow, resulting in failure. This patch fixes the issue.
Copy link

codecov bot commented Jun 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.72%. Comparing base (eb6e395) to head (bcc5895).
Report is 12 commits behind head on v3.

Additional details and impacted files
@@            Coverage Diff             @@
##               v3    #2785      +/-   ##
==========================================
+ Coverage   76.32%   78.72%   +2.39%     
==========================================
  Files          87       89       +2     
  Lines        9846     8173    -1673     
==========================================
- Hits         7515     6434    -1081     
+ Misses       1866     1272     -594     
- Partials      465      467       +2     
Flag Coverage Δ
go 80.32% <ø> (+2.46%) ⬆️
wasm 65.59% <ø> (+1.14%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@Sean-Der Sean-Der merged commit 4430f41 into pion:v3 Jun 16, 2024
10 of 12 checks passed
@aler9 aler9 deleted the patch-test-race-v3 branch June 16, 2024 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants