activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [07/11] activemq-artemis git commit: Fix check for cursor complete in page cleanup test
Date Thu, 28 Jul 2016 21:27:14 GMT
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ä <ville.skytta@iki.fi>
Authored: Thu Jul 28 23:00:34 2016 +0300
Committer: Ville Skyttä <ville.skytta@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);
 


Mime
View raw message