You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2016/07/28 21:27:14 UTC

[07/11] activemq-artemis git commit: Fix check for cursor complete in page cleanup test

Fix check for cursor complete in page cleanup test


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

Branch: refs/heads/master
Commit: 8562b8b44836dc7abe4e5a8646fc5fb2bb1f1bbe
Parents: 83adee5
Author: Ville Skytt� <vi...@iki.fi>
Authored: Thu Jul 28 23:00:34 2016 +0300
Committer: Ville Skytt� <vi...@iki.fi>
Committed: Thu Jul 28 23:30:02 2016 +0300

----------------------------------------------------------------------
 .../activemq/artemis/tests/integration/client/PagingTest.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/8562b8b4/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/PagingTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/PagingTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/PagingTest.java
index 91f5b2f..b93afb7 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/PagingTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/PagingTest.java
@@ -323,7 +323,7 @@ public class PagingTest extends ActiveMQTestBase {
 
       HashMap<Integer, AtomicInteger> counts = countJournalLivingRecords(server.getConfiguration());
 
-      AtomicInteger pgComplete = counts.get(JournalRecordIds.PAGE_CURSOR_COMPLETE);
+      AtomicInteger pgComplete = counts.get((int) JournalRecordIds.PAGE_CURSOR_COMPLETE);
 
       assertTrue(pgComplete == null || pgComplete.get() == 0);