Skip to content

Commit 02c279a

Browse files
committed
Really fix race condition in logger translator test
Signed-off-by: James Fish <[email protected]>
1 parent 2c2fb82 commit 02c279a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/logger/test/logger/translator_test.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ defmodule Logger.TranslatorTest do
483483
assert capture_log(:info, fn ->
484484
{:ok, pid} = Supervisor.start_child(sup, [MyGenServer, []])
485485
catch_exit(GenServer.call(pid, :error))
486+
[] = Supervisor.which_children(sup)
486487
end) =~ "Start Call: GenServer.start_link/?"
487488
end
488489

0 commit comments

Comments
 (0)