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

Maybe fix spurious error in tests #402

Merged
merged 1 commit into from
Jul 4, 2024
Merged

Maybe fix spurious error in tests #402

merged 1 commit into from
Jul 4, 2024

Conversation

Kubuxu
Copy link
Contributor

@Kubuxu Kubuxu commented Jul 4, 2024

Race tests will sometimes fail here, there exists ordering of goroutine
execution where ctx.Done() fires first within Runner and propagates through the errCh and select picks it over the context.

Race tests will sometimes fail here, there exists ordering of goroutine
execution where ctx.Done() fires firt with Runner and returns here.

Signed-off-by: Jakub Sztandera <[email protected]>
Copy link

codecov bot commented Jul 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.95%. Comparing base (fcbc485) to head (66fa201).
Report is 6 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #402      +/-   ##
==========================================
- Coverage   79.30%   78.95%   -0.35%     
==========================================
  Files          27       36       +9     
  Lines        2880     3474     +594     
==========================================
+ Hits         2284     2743     +459     
- Misses        365      457      +92     
- Partials      231      274      +43     

see 15 files with indirect coverage changes

@Kubuxu Kubuxu enabled auto-merge July 4, 2024 19:09
@Kubuxu Kubuxu added this pull request to the merge queue Jul 4, 2024
Merged via the queue into main with commit ba1a262 Jul 4, 2024
7 of 8 checks passed
@Kubuxu Kubuxu deleted the misc/fix-race-test branch July 4, 2024 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants