fix: suppress Task.Supervised sandbox-cleanup crash noise
Some checks failed
Build and Push / Build and Push Docker Image (push) Has been cancelled
Some checks failed
Build and Push / Build and Push Docker Image (push) Has been cancelled
Fire-and-forget tasks spawned via async_stream_nolink on the PartitionSupervisor outlive the test sandbox owner in :manual mode. When the owner exits, descendant tasks get shutdown on next DB checkout — the process crash is logged at [error] by Task.Supervised. Same benign sandbox-cleanup category as the already-suppressed Postgrex.Protocol, DBConnection.Connection, and DBConnection.Holder.
This commit is contained in:
parent
167ad996d7
commit
78013f8904
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ Application.ensure_all_started(:stream_data)
|
|||
# captures logs from the test process). Pinning these modules to
|
||||
# :critical drops the noise without affecting real DB error logging.
|
||||
Logger.put_module_level(
|
||||
[Postgrex.Protocol, DBConnection.Connection, DBConnection.Holder],
|
||||
[Postgrex.Protocol, DBConnection.Connection, DBConnection.Holder, Task.Supervised],
|
||||
:critical
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue