Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3AD67200B62 for ; Thu, 28 Jul 2016 23:27:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3989C160A85; Thu, 28 Jul 2016 21:27:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4D227160AAB for ; Thu, 28 Jul 2016 23:27:10 +0200 (CEST) Received: (qmail 18739 invoked by uid 500); 28 Jul 2016 21:27:09 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 18571 invoked by uid 99); 28 Jul 2016 21:27:09 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jul 2016 21:27:09 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D9A78E943B; Thu, 28 Jul 2016 21:27:08 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: clebertsuconic@apache.org To: commits@activemq.apache.org Date: Thu, 28 Jul 2016 21:27:14 -0000 Message-Id: <6e00d6a0f5ba4f62ae9092c03b37caae@git.apache.org> In-Reply-To: <3f40d4f918fa493d9bcbca8b9ae2b7ed@git.apache.org> References: <3f40d4f918fa493d9bcbca8b9ae2b7ed@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [07/11] activemq-artemis git commit: Fix check for cursor complete in page cleanup test archived-at: Thu, 28 Jul 2016 21:27:11 -0000 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ä Authored: Thu Jul 28 23:00:34 2016 +0300 Committer: Ville Skyttä 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 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);