activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elliotte Harold" <erhar...@gmail.com>
Subject Order dependent unit tests
Date Tue, 07 Aug 2007 13:21:37 GMT
I'm still struggling with some unit tests that pass when run in isolation
and fail when run as part of the larger suite. Here's a related question
that may help debug this. Suppose I create a factory like so:


        factory = new
ActiveMQConnectionFactory("vm://localhost?broker.persistent=false");


I then use this factory to set up the various destinations and a queue named
"foo".

Later in a different test I repeat this process. The factory is
reinitialized.

Will I in fact have created two different queues with different data stores?
Or will I have in some sense created the same queue twice? Is there some way
dat from one can leak into the next?

-- 
Elliotte Rusty Harold
erharold@gmail.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message