Skip to content

Commit

Permalink
Set DNS timeout to Float::MIN for failing DNS timeout test
Browse files Browse the repository at this point in the history
  • Loading branch information
timkrins committed Feb 1, 2024
1 parent b4bb4ee commit 69e2a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/valid_email2_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class TestUserMXDnsTimeout < TestModel
end

class TestUserMXDnsFailingTimeout < TestModel
validates :email, 'valid_email_2/email': { mx: true, dns_timeout: 0.001 }
validates :email, 'valid_email_2/email': { mx: true, dns_timeout: Float::MIN }
end

class TestUserMXDnsNameserver < TestModel
Expand Down

0 comments on commit 69e2a4f

Please sign in to comment.