activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <hi...@hiramchirino.com>
Subject Re: Unit testing transactional behaviour
Date Thu, 07 Sep 2006 20:11:25 GMT
vadim.. to make a test case transactional.. you have to sprinkle a few
commits here and there.
otherwise messages are never sent and the test will fail since it
usually check to see if messages were properly sent.

On 9/7/06, Vadim Pesochinsky <Vadim.Pesochinskiy@mscibarra.com> wrote:
>
> I take ZeroPrefetchConsumerTest, JmsTopicRedeliverTest, etc and change every
> occurance of
>
> FROM
> connection.createSession(false, ...
> TO
> connection.createSession(true, ...
>
> and every single test case fails after that
>
>
> --
> View this message in context: http://www.nabble.com/Unit-testing-transactional-behaviour-tf2235066.html#a6197149
> Sent from the ActiveMQ - Dev forum at Nabble.com.
>
>


-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Mime
View raw message