JuliaWeb / HTTP.jl

HTTP for Julia
https://juliaweb.github.io/HTTP.jl/stable/
Other
626 stars 177 forks source link

tests and fixes for recoverability of DNS errors #1089

Closed tanmaykm closed 11 months ago

tanmaykm commented 11 months ago

Added some tests for isrecoverable, particularly for DNS errors. Added a test for one of the new behaviors, i.e. EAI_NONAME is not retried.

ref: #1088

codecov-commenter commented 11 months ago

Codecov Report

Merging #1089 (f3c270a) into master (ea4485f) will increase coverage by 0.05%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1089      +/-   ##
==========================================
+ Coverage   82.32%   82.37%   +0.05%     
==========================================
  Files          32       32              
  Lines        3043     3041       -2     
==========================================
  Hits         2505     2505              
+ Misses        538      536       -2     
Files Changed Coverage Δ
src/clientlayers/RetryRequest.jl 82.60% <100.00%> (+3.44%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more