Skip to content

Commit

Permalink
fix test: wait for task to be done
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmaykm committed Aug 27, 2024
1 parent ec68aae commit 013a674
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 013a674

Please sign in to comment.