Skip to content

Commit d98c8ef

Browse files
committed
Don't unnecessarily sleep.
1 parent 85c923f commit d98c8ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ParallelTestRunner.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,8 @@ function runtests(mod::Module, ARGS; test_filter = Returns(true), RecordType = T
738738
update_status()
739739
last_status_update[] = time()
740740
end
741-
sleep(0.1)
741+
742+
isopen(printer_channel) && sleep(0.1)
742743
end
743744
catch ex
744745
if isa(ex, InterruptException)

0 commit comments

Comments
 (0)