mirror of https://github.com/apache/activemq.git
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:
parent
a6c51a4532
commit
6d444d5132
|
@ -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 {
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue