Skip to content

Commit

Permalink
Wboss build and test to fix failure to close destination closeables o…
Browse files Browse the repository at this point in the history
…n stop [IMMUTANT-583]
  • Loading branch information
tobias committed Oct 7, 2015
1 parent 550ca0d commit 125183d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions messaging/test/immutant/messaging_test.clj
Expand Up @@ -250,6 +250,15 @@
(is (= :success (receive q :timeout 100 :timeout-val :success)))
(is (< (- (System/currentTimeMillis) start) 200))))))

(deftest request-receive-should-work-with-recreated-queue
(let [q (random-queue)
action (fn [q msg]
(respond q identity)
(is (= msg (deref (request q msg) 1000 :failure)))
(stop q))]
(action q :hi)
(action (queue (.name q)) :hi-again)))

(deftest publish-from-a-listener-should-work
(let [q (random-queue)
q2 (random-queue)
Expand Down
2 changes: 1 addition & 1 deletion project.clj
Expand Up @@ -92,7 +92,7 @@
environ "1.0.0"

;; org.projectodd.wunderboss "0.9.0"
org.projectodd.wunderboss "1.x.incremental.290"
org.projectodd.wunderboss "1.x.incremental.291"
;; org.projectodd.wunderboss "0.9.1-SNAPSHOT"

org.immutant :version
Expand Down

0 comments on commit 125183d

Please sign in to comment.