Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D9B0D18E34 for ; Wed, 10 Jun 2015 10:36:43 +0000 (UTC) Received: (qmail 57605 invoked by uid 500); 10 Jun 2015 10:36:37 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 57569 invoked by uid 500); 10 Jun 2015 10:36:37 -0000 Mailing-List: contact commits-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list commits@ignite.incubator.apache.org Received: (qmail 57549 invoked by uid 99); 10 Jun 2015 10:36:37 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2015 10:36:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 0BD1CC095F for ; Wed, 10 Jun 2015 10:36:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.771 X-Spam-Level: * X-Spam-Status: No, score=1.771 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id hLhWb31BWeeg for ; Wed, 10 Jun 2015 10:36:36 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id 3127427DD6 for ; Wed, 10 Jun 2015 10:36:23 +0000 (UTC) Received: (qmail 56330 invoked by uid 99); 10 Jun 2015 10:36:19 -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; Wed, 10 Jun 2015 10:36:19 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5DF95DFC16; Wed, 10 Jun 2015 10:36:19 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sboikov@apache.org To: commits@ignite.incubator.apache.org Date: Wed, 10 Jun 2015 10:36:57 -0000 Message-Id: <07190ccb6faf466ba9da33a662559392@git.apache.org> In-Reply-To: <27afb100516f4f4099162e5f71bc0c0f@git.apache.org> References: <27afb100516f4f4099162e5f71bc0c0f@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [40/50] incubator-ignite git commit: # ignite-sprint-5 more debug info in test # ignite-sprint-5 more debug info in test Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/410c1d79 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/410c1d79 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/410c1d79 Branch: refs/heads/ignite-633 Commit: 410c1d7941fd0283bc6c419e3fc54bce89f59e3f Parents: e7d8b5a Author: sboikov Authored: Tue Jun 9 11:43:52 2015 +0300 Committer: sboikov Committed: Tue Jun 9 11:43:52 2015 +0300 ---------------------------------------------------------------------- .../processors/continuous/GridEventConsumeSelfTest.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/410c1d79/modules/core/src/test/java/org/apache/ignite/internal/processors/continuous/GridEventConsumeSelfTest.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/continuous/GridEventConsumeSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/continuous/GridEventConsumeSelfTest.java index 2c9e513..9ffef4b 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/continuous/GridEventConsumeSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/continuous/GridEventConsumeSelfTest.java @@ -114,8 +114,11 @@ public class GridEventConsumeSelfTest extends GridCommonAbstractTest { GridContinuousProcessor proc = grid.context().continuous(); try { - if (!noAutoUnsubscribe) - assertEquals(0, U.field(proc, "rmtInfos").size()); + if (!noAutoUnsubscribe) { + Map rmtInfos = U.field(proc, "rmtInfos"); + + assertTrue("Unexpected remote infos: " + rmtInfos, rmtInfos.isEmpty()); + } } finally { U.field(proc, "rmtInfos").clear();