Skip to content

Commit 85c923f

Browse files
committed
Try to fix a race.
1 parent 87f190e commit 85c923f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ParallelTestRunner.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ function runtests(mod::Module, ARGS; test_filter = Returns(true), RecordType = T
698698
printer_task = @async begin
699699
last_status_update = Ref(time())
700700
try
701-
while isopen(printer_channel)
701+
while isopen(printer_channel) || isready(printer_channel)
702702
got_message = false
703703
while isready(printer_channel)
704704
# Try to get a message from the channel (with timeout)

0 commit comments

Comments
 (0)