mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-4365 - ensure 500ms retry time is enforce for kahaDbJdbcLeaseQueueMasterSlaveTest
This commit is contained in:
parent
92ee5c6bab
commit
40ea66556e
|
@ -52,8 +52,8 @@ public class kahaDbJdbcLeaseQueueMasterSlaveTest extends QueueMasterSlaveTestSup
|
|||
leaseDatabaseLocker.setCreateTablesOnStartup(true);
|
||||
leaseDatabaseLocker.setDataSource(getExistingDataSource());
|
||||
leaseDatabaseLocker.setStatements(new Statements());
|
||||
configureLocker(kahaDBPersistenceAdapter);
|
||||
kahaDBPersistenceAdapter.setLocker(leaseDatabaseLocker);
|
||||
configureLocker(kahaDBPersistenceAdapter);
|
||||
configureBroker(master);
|
||||
master.start();
|
||||
}
|
||||
|
@ -82,9 +82,8 @@ public class kahaDbJdbcLeaseQueueMasterSlaveTest extends QueueMasterSlaveTestSup
|
|||
LeaseDatabaseLocker leaseDatabaseLocker = new LeaseDatabaseLocker();
|
||||
leaseDatabaseLocker.setDataSource(getExistingDataSource());
|
||||
leaseDatabaseLocker.setStatements(new Statements());
|
||||
configureLocker(kahaDBPersistenceAdapter);
|
||||
kahaDBPersistenceAdapter.setLocker(leaseDatabaseLocker);
|
||||
|
||||
configureLocker(kahaDBPersistenceAdapter);
|
||||
configureBroker(broker);
|
||||
broker.start();
|
||||
slave.set(broker);
|
||||
|
|
Loading…
Reference in New Issue