Skip to content

Commit

Permalink
feat: Tower.test to play better with async reporters
Browse files Browse the repository at this point in the history
  • Loading branch information
grzuy committed Feb 14, 2025
1 parent 069e3f8 commit ab81d8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/mix/tasks/tower.test.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ defmodule Mix.Tasks.Tower.Test do

@impl true
def run(_args) do
# Avoid automatic BEAM halt after task finishes so we allow time for any
# reporters reporting in async processes to finish.
System.no_halt(true)
Tower.test()
end
end

0 comments on commit ab81d8c

Please # to comment.