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 <[EMAIL PROTECTED]> 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

Reply via email to