Skip to content

Commit 4915652

Browse files
committed
Bump timeouts to perform better on Travis-CI.
1 parent 4f695c7 commit 4915652

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/mysql_queue/core_test.clj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@
8888
:err-fn #(deliver exception %)
8989
:max-scheduler-sleep-interval 0.5
9090
:max-recovery-sleep-interval 0.5)]
91-
(is (deref success? 10000 false)
92-
(str "Failed to process " num-jobs " test jobs in 10 seconds.\n"
91+
(is (deref success? 15000 false)
92+
(str "Failed to process " num-jobs " test jobs in 15 seconds.\n"
9393
"Missing job IDs: " (clj-set/difference expected-set @check-ins) "\n"
9494
"Exception?: " (deref exception 0 "nope")))
9595
(is (= num-jobs (count @check-ins))
@@ -121,8 +121,8 @@
121121
:err-fn #(deliver exception %)
122122
:max-scheduler-sleep-interval 0.5
123123
:max-recovery-sleep-interval 0.5)]
124-
(is (deref success? 10000 false)
125-
(str "Failed to process " num-jobs " test jobs in 10 seconds.\n"
124+
(is (deref success? 15000 false)
125+
(str "Failed to process " num-jobs " test jobs in 15 seconds.\n"
126126
"Missing job IDs: " (clj-set/difference expected-set @check-ins) "\n"
127127
"Exception?: " (deref exception 0 "nope")))
128128
(is (= num-jobs (count @check-ins))
@@ -148,8 +148,8 @@
148148
:recovery-threshold-mins 0
149149
:max-scheduler-sleep-interval 0.5
150150
:max-recovery-sleep-interval 0.5)]
151-
(is (deref success? 10000 false)
152-
(str "Failed to process " num-jobs " test jobs in 10 seconds.\n"
151+
(is (deref success? 15000 false)
152+
(str "Failed to process " num-jobs " test jobs in 15 seconds.\n"
153153
"Missing job IDs: " (clj-set/difference expected-set @check-ins) "\n"
154154
"Exception?: " (deref exception 0 "nope")))
155155
(is (= num-jobs (count @check-ins))

0 commit comments

Comments
 (0)