don't use MEM store for transaction recovery tests

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1071737 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2011-02-17 18:27:54 +00:00
parent a6c51a4532
commit 6d444d5132
2 changed files with 4 additions and 2 deletions

View File

@ -123,7 +123,8 @@ public class FailoverTransactionTest extends TestSupport {
}
public void initCombosForTestFailoverCommitReplyLost() {
addCombinationValues("defaultPersistenceAdapter", PersistenceAdapterChoice.values());
addCombinationValues("defaultPersistenceAdapter",
new Object[]{PersistenceAdapterChoice.KahaDB, PersistenceAdapterChoice.AMQ, PersistenceAdapterChoice.JDBC});
}
public void testFailoverCommitReplyLost() throws Exception {

View File

@ -145,9 +145,10 @@ public class FailoverTransportBrokerTest extends NetworkTestSupport {
});
c.start();
int count = 0;
while(count++ < 5 && info[0] == null) {
while(count++ < 20 && info[0] == null) {
TimeUnit.SECONDS.sleep(1);
}
assertNotNull("got a valid brokerInfo after 20 secs", info[0]);
assertNull("no peer brokers present", info[0].getPeerBrokerInfos());
}