qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Schloming <rafa...@redhat.com>
Subject Re: Multiple broker control in QpidTestCase (was Re: svn commit: r791954 - /qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/utils/FailoverBaseCase.java)
Date Wed, 08 Jul 2009 13:26:43 GMT
Aidan Skinner wrote:
> On Wed, Jul 8, 2009 at 2:11 PM, Rafael Schloming<rafaels@redhat.com> wrote:
>> Aidan Skinner wrote:
>>> Which nicely brings us back to the thing I was trying to address when
>>> I started making these changes in the first place - Failover tests
>>> need to be able to start and stop two brokers with stores.
>>> PeristentStoreTest also needs to do something similar.
>> Don't the failover tests already do this?
> Not really. You can't start two brokers with stores since the stores
> end up in the same place. Which is what the whole java.io.tmpdir stuff
> was about in any case.

That's not true. The cpp profile uses a separate data directory for each 
broker started:

${project.root}/../cpp/src/qpidd -p @PORT --data-dir ${build.data}/@PORT

Note the --data-dir argument.

Why can't the java profile just do the same thing?


Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org

View raw message