activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject git commit: https://issues.apache.org/jira/browse/AMQ-4365 - ensure 500ms retry time is enforce for kahaDbJdbcLeaseQueueMasterSlaveTest
Date Tue, 01 Oct 2013 12:19:19 GMT
Updated Branches:
  refs/heads/trunk 92ee5c6ba -> 40ea66556


https://issues.apache.org/jira/browse/AMQ-4365 - ensure 500ms retry time is enforce for kahaDbJdbcLeaseQueueMasterSlaveTest


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/40ea6655
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/40ea6655
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/40ea6655

Branch: refs/heads/trunk
Commit: 40ea66556ecf68beb47919a15b31a379d7c4271f
Parents: 92ee5c6
Author: gtully <gary.tully@gmail.com>
Authored: Tue Oct 1 13:18:36 2013 +0100
Committer: gtully <gary.tully@gmail.com>
Committed: Tue Oct 1 13:19:07 2013 +0100

----------------------------------------------------------------------
 .../activemq/broker/ft/kahaDbJdbcLeaseQueueMasterSlaveTest.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/40ea6655/activemq-unit-tests/src/test/java/org/apache/activemq/broker/ft/kahaDbJdbcLeaseQueueMasterSlaveTest.java
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/broker/ft/kahaDbJdbcLeaseQueueMasterSlaveTest.java
b/activemq-unit-tests/src/test/java/org/apache/activemq/broker/ft/kahaDbJdbcLeaseQueueMasterSlaveTest.java
index ba59eb7..5202630 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/broker/ft/kahaDbJdbcLeaseQueueMasterSlaveTest.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/broker/ft/kahaDbJdbcLeaseQueueMasterSlaveTest.java
@@ -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);


Mime
View raw message