You only need the shutdown if you want to clean up. Since these are tests, it’s nice to clean up each time, but not strictly necessary. I can look into a before :all type thing.

In the actual app, you don’t need to call shutdown (unless you actually want to shutdown all your amqp connections). 

On February 14, 2014 at 11:47:05 AM, Sean Shillo (notifications@github.com) wrote:

In test/async_amqp/core_test.clj:

> @@ -141,4 +139,5 @@
>          caller (rpc-call configuration "rpc testing" #(deliver p (String. %3 "UTF-8")))]
>      @p => "RPC TESTING"
>      ((:close handler))
> -    ((:close caller))))
> +    ((:close caller)))
> +  (shutdown))
So we have to call shutdown everytime now? Can we make some macro or something that makes it so we don't have to do this. Maybe put close caller in there too.

—
Reply to this email directly or view it on GitHub.