Skip to content

Commit

Permalink
Bump timeouts to perform better on Travis-CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
temochka committed Mar 22, 2016
1 parent 4f695c7 commit 4915652
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/mysql_queue/core_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@
:err-fn #(deliver exception %)
:max-scheduler-sleep-interval 0.5
:max-recovery-sleep-interval 0.5)]
(is (deref success? 10000 false)
(str "Failed to process " num-jobs " test jobs in 10 seconds.\n"
(is (deref success? 15000 false)
(str "Failed to process " num-jobs " test jobs in 15 seconds.\n"
"Missing job IDs: " (clj-set/difference expected-set @check-ins) "\n"
"Exception?: " (deref exception 0 "nope")))
(is (= num-jobs (count @check-ins))
Expand Down Expand Up @@ -121,8 +121,8 @@
:err-fn #(deliver exception %)
:max-scheduler-sleep-interval 0.5
:max-recovery-sleep-interval 0.5)]
(is (deref success? 10000 false)
(str "Failed to process " num-jobs " test jobs in 10 seconds.\n"
(is (deref success? 15000 false)
(str "Failed to process " num-jobs " test jobs in 15 seconds.\n"
"Missing job IDs: " (clj-set/difference expected-set @check-ins) "\n"
"Exception?: " (deref exception 0 "nope")))
(is (= num-jobs (count @check-ins))
Expand All @@ -148,8 +148,8 @@
:recovery-threshold-mins 0
:max-scheduler-sleep-interval 0.5
:max-recovery-sleep-interval 0.5)]
(is (deref success? 10000 false)
(str "Failed to process " num-jobs " test jobs in 10 seconds.\n"
(is (deref success? 15000 false)
(str "Failed to process " num-jobs " test jobs in 15 seconds.\n"
"Missing job IDs: " (clj-set/difference expected-set @check-ins) "\n"
"Exception?: " (deref exception 0 "nope")))
(is (= num-jobs (count @check-ins))
Expand Down

0 comments on commit 4915652

Please sign in to comment.