Skip to content

Rethrow error thrown from withAsyncTestingChannel closure - #606

Merged
ptoffy merged 5 commits into
vapor:mainfrom
ahoppen:rethrow-error
Jul 28, 2026
Merged

Rethrow error thrown from withAsyncTestingChannel closure#606
ptoffy merged 5 commits into
vapor:mainfrom
ahoppen:rethrow-error

Conversation

@ahoppen

@ahoppen ahoppen commented Dec 4, 2025

Copy link
Copy Markdown
Contributor

Currently, when the closure of withAsyncTestingChannel throws, the error is just swallowed silently and the test passes. Actually rethrow it so the test fails

Currently, when the closure of `withAsyncTestingChannel` throws, the error is just swallowed silently and the test passes. Actually rethrow it so the test fails
@codecov

codecov Bot commented Dec 4, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.26%. Comparing base (1ff312e) to head (407150e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #606      +/-   ##
==========================================
+ Coverage   77.24%   77.26%   +0.01%     
==========================================
  Files         137      137              
  Lines       10612    10612              
==========================================
+ Hits         8197     8199       +2     
+ Misses       2415     2413       -2     

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread Tests/PostgresNIOTests/New/PostgresConnectionTests.swift Outdated
Co-authored-by: Gwynne Raskind <gwynne@darkrainfall.org>
@ptoffy
ptoffy merged commit bbc33e7 into vapor:main Jul 28, 2026
10 checks passed
@ahoppen
ahoppen deleted the rethrow-error branch July 28, 2026 13:19
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.

3 participants