activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [3/5] activemq-artemis git commit: Fix check for KahaDB adapter in DurableSubsOfflineSelectorIndexUseTest
Date Fri, 29 Jul 2016 19:35:39 GMT
Fix check for KahaDB adapter in DurableSubsOfflineSelectorIndexUseTest


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

Branch: refs/heads/master
Commit: eb5eca93b0ce262f3f27dc6cb80d258be31afbfe
Parents: 5fe10d0
Author: Ville Skyttä <ville.skytta@iki.fi>
Authored: Fri Jul 29 18:41:09 2016 +0300
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Fri Jul 29 15:35:25 2016 -0400

----------------------------------------------------------------------
 .../activemq/usecases/DurableSubsOfflineSelectorIndexUseTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/eb5eca93/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/DurableSubsOfflineSelectorIndexUseTest.java
----------------------------------------------------------------------
diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/DurableSubsOfflineSelectorIndexUseTest.java
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/DurableSubsOfflineSelectorIndexUseTest.java
index 540cdde..31dc6cd 100644
--- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/DurableSubsOfflineSelectorIndexUseTest.java
+++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/DurableSubsOfflineSelectorIndexUseTest.java
@@ -185,7 +185,7 @@ public class DurableSubsOfflineSelectorIndexUseTest extends org.apache.activemq.
       con.close();
 
       PersistenceAdapter persistenceAdapter = broker.getPersistenceAdapter();
-      if (persistenceAdapter instanceof KahaDBStore) {
+      if (persistenceAdapter instanceof KahaDBPersistenceAdapter) {
          final KahaDBStore store = ((KahaDBPersistenceAdapter) persistenceAdapter).getStore();
          LOG.info("Store page count: " + store.getPageFile().getPageCount());
          LOG.info("Store free page count: " + store.getPageFile().getFreePageCount());


Mime
View raw message