Skip to content

Commit

Permalink
Bump timeouts for DNS failure tests
Browse files Browse the repository at this point in the history
These started to flake on CI recently with the shorter timeouts.
  • Loading branch information
DerGuteMoritz committed Feb 12, 2024
1 parent 77def3e commit 3304d64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/aleph/http_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@
(testing "unknown host with JDK DNS resolver"
(is (thrown? UnknownHostException
(-> (http/get "http://unknown-host/")
(d/timeout! 1e3)
(d/timeout! 1e4)
deref))))

(testing "unknown host with custom DNS client"
Expand All @@ -1194,7 +1194,7 @@
(try
(is (thrown? UnknownHostException
(-> (http/get "http://unknown-host/" {:pool pool})
(d/timeout! 1e3)
(d/timeout! 1e4)
deref)))
(finally
(.shutdown ^Pool pool))))))
Expand Down

0 comments on commit 3304d64

Please sign in to comment.