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 01CD318AB1 for ; Mon, 30 Nov 2015 17:00:31 +0000 (UTC) Received: (qmail 24714 invoked by uid 500); 30 Nov 2015 17:00:30 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 24665 invoked by uid 500); 30 Nov 2015 17:00:30 -0000 Mailing-List: contact commits-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list commits@ignite.apache.org Received: (qmail 24609 invoked by uid 99); 30 Nov 2015 17:00:30 -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; Mon, 30 Nov 2015 17:00:30 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5E147E0998; Mon, 30 Nov 2015 17:00:30 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: agoncharuk@apache.org To: commits@ignite.apache.org Date: Mon, 30 Nov 2015 17:00:34 -0000 Message-Id: In-Reply-To: <06f1e8a3ae7f4613b999430dbbc0f075@git.apache.org> References: <06f1e8a3ae7f4613b999430dbbc0f075@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [06/12] ignite git commit: Fixed GridCacheNearOnlyMultiNodeP2PDisabledFullApiSelfTest.testReaderTtlNoTx test. Fixed GridCacheNearOnlyMultiNodeP2PDisabledFullApiSelfTest.testReaderTtlNoTx test. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/eed4b1c2 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/eed4b1c2 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/eed4b1c2 Branch: refs/heads/ignite-1.5.1 Commit: eed4b1c245d8a22d4e9ae2ce7200089025c8c5ae Parents: 407bf93 Author: Tikhonov Nikolay Authored: Mon Nov 30 17:09:15 2015 +0300 Committer: Tikhonov Nikolay Committed: Mon Nov 30 17:09:15 2015 +0300 ---------------------------------------------------------------------- .../near/GridCacheNearOnlyMultiNodeFullApiSelfTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/eed4b1c2/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlyMultiNodeFullApiSelfTest.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlyMultiNodeFullApiSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlyMultiNodeFullApiSelfTest.java index c4407fe..eaab103 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlyMultiNodeFullApiSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlyMultiNodeFullApiSelfTest.java @@ -413,7 +413,8 @@ public class GridCacheNearOnlyMultiNodeFullApiSelfTest extends GridCachePartitio return true; } catch (GridCacheEntryRemovedException e) { - throw new RuntimeException(e); + // If e0.valueBytes() thrown this exception then entry has been removed. + return true; } } }, Math.min(ttl * 10, getTestTimeout())));