Skip to content

Commit

Permalink
retry in specs
Browse files Browse the repository at this point in the history
  • Loading branch information
mamantoha committed Jun 27, 2024
1 parent ce200c3 commit ebd7e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/resolv_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ require "./spec_helper"

describe Resolv do
it "works" do
dns = Resolv::DNS.new("8.8.8.8", 5.seconds)
dns = Resolv::DNS.new("8.8.8.8", 5.seconds, retry: 3)
a_records = dns.a_resources("shards.info")

a_records.should be_a(Array(Resolv::DNS::Resource::A))
Expand Down

0 comments on commit ebd7e46

Please sign in to comment.