Skip to content

Commit 3304d64

Browse files
committed
Bump timeouts for DNS failure tests
These started to flake on CI recently with the shorter timeouts.
1 parent 77def3e commit 3304d64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/aleph/http_test.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,7 @@
11841184
(testing "unknown host with JDK DNS resolver"
11851185
(is (thrown? UnknownHostException
11861186
(-> (http/get "http://unknown-host/")
1187-
(d/timeout! 1e3)
1187+
(d/timeout! 1e4)
11881188
deref))))
11891189

11901190
(testing "unknown host with custom DNS client"
@@ -1194,7 +1194,7 @@
11941194
(try
11951195
(is (thrown? UnknownHostException
11961196
(-> (http/get "http://unknown-host/" {:pool pool})
1197-
(d/timeout! 1e3)
1197+
(d/timeout! 1e4)
11981198
deref)))
11991199
(finally
12001200
(.shutdown ^Pool pool))))))

0 commit comments

Comments
 (0)