Skip to content

Commit

Permalink
Increase thread test timeout to 100 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
weavejester committed May 16, 2015
1 parent 72154ca commit ff41e06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ring-jetty-adapter/test/ring/adapter/test/jetty.clj
Expand Up @@ -151,7 +151,7 @@
(let [thread-count (count (all-threads))]
(is (thrown? Exception (run-jetty hello-world {:port 4347})))
(loop [i 0]
(when (and (< i 300) (not= thread-count (count (all-threads))))
(Thread/sleep 100)
(when (and (< i 400) (not= thread-count (count (all-threads))))
(Thread/sleep 250)
(recur (inc i))))
(is (= thread-count (count (all-threads))))))))

0 comments on commit ff41e06

Please sign in to comment.