Skip to content

Commit

Permalink
Give the unschedule more time to work.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias committed Jul 30, 2013
1 parent 03de4f5 commit 58d2c61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion integration-tests/apps/jobs/test/jobs/cron.clj
Expand Up @@ -73,6 +73,7 @@
(is (msg/receive q :timeout 10000))
(require '[immutant.jobs :as job] :reload-all)
(job/unschedule "a-job")
(Thread/sleep 5000)
(let [curval (.get aint)]
(Thread/sleep 5000)
(Thread/sleep 2000)
(is (= curval (.get aint)))))))

0 comments on commit 58d2c61

Please sign in to comment.