From 013a674ed0bb3d5b976488859bfac253800823fe Mon Sep 17 00:00:00 2001 From: tan Date: Tue, 27 Aug 2024 15:43:50 +0530 Subject: [PATCH] fix test: wait for task to be done --- test/runtests.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/test/runtests.jl b/test/runtests.jl index cf61e88..f4b3ffb 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -475,6 +475,7 @@ include("setup.jl") sleep(0.1) @test !istaskdone(download_task) notify(interrupt) + timedwait(()->istaskdone(download_task), 5.0) @test istaskdone(download_task) @test download_task.result isa RequestError end