Skip to content

Commit

Permalink
Retry downloads in toml tests (#53828)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Mar 23, 2024
1 parent 243f67d commit 9bd7343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/TOML/test/utils/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ end
function get_data()
tmp = mktempdir()
path = joinpath(tmp, basename(url))
Downloads.download(url, path)
retry(Downloads.download, delays=fill(10,5))(url, path)
Tar.extract(`$(exe7z()) x $path -so`, joinpath(tmp, "testfiles"))
return joinpath(tmp, "testfiles", "toml-test-julia-$version", "testfiles")
end

0 comments on commit 9bd7343

Please sign in to comment.