From 125183d7114597ebdef08d63ba08dde769cf97e4 Mon Sep 17 00:00:00 2001 From: Toby Crawley Date: Wed, 7 Oct 2015 13:21:14 -0400 Subject: [PATCH] Wboss build and test to fix failure to close destination closeables on stop [IMMUTANT-583] --- messaging/test/immutant/messaging_test.clj | 9 +++++++++ project.clj | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/messaging/test/immutant/messaging_test.clj b/messaging/test/immutant/messaging_test.clj index fc2076b6..8bc6ed81 100644 --- a/messaging/test/immutant/messaging_test.clj +++ b/messaging/test/immutant/messaging_test.clj @@ -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) diff --git a/project.clj b/project.clj index 68cb5bbc..0079db30 100644 --- a/project.clj +++ b/project.clj @@ -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