We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3eba17 commit a2715f4Copy full SHA for a2715f4
src/firedamp/core.clj
@@ -26,7 +26,7 @@
26
27
(def bad-fetch-msg "problem fetching")
28
29
-(def timeout-after (mt/seconds 5))
+(def timeout-after (mt/seconds 10))
30
31
(def state (atom {:alarm-state ::good
32
:last-update (time/now)}))
test/firedamp/core_test.clj
@@ -67,7 +67,7 @@
67
(let [result (core/fetch-json-status! core/github)]
68
(mt/advance clock (mt/seconds core/timeout-after))
69
(is (thrown-with-msg? TimeoutException
70
- #"timed out after 5000.0 milliseconds" @result))
+ #"timed out after 10000.0 milliseconds" @result))
71
(is (= [core/github] @hits))))))))
72
73
(deftest get-next-state
0 commit comments