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 26FA0180E0 for ; Mon, 18 May 2015 09:31:21 +0000 (UTC) Received: (qmail 86088 invoked by uid 500); 18 May 2015 09:31:21 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 86057 invoked by uid 500); 18 May 2015 09:31:21 -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 86048 invoked by uid 99); 18 May 2015 09:31:21 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2015 09:31:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 81C831A2E5E for ; Mon, 18 May 2015 09:31:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 8lyUeHW-Jl4b for ; Mon, 18 May 2015 09:31:19 +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 462E325463 for ; Mon, 18 May 2015 09:31:12 +0000 (UTC) Received: (qmail 85540 invoked by uid 99); 18 May 2015 09:31:10 -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, 18 May 2015 09:31:10 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8DE0DE0613; Mon, 18 May 2015 09:31:10 +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: Mon, 18 May 2015 09:31:24 -0000 Message-Id: In-Reply-To: <2ba11fe0be5e42f7aef2dd1f2f798ede@git.apache.org> References: <2ba11fe0be5e42f7aef2dd1f2f798ede@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [15/29] incubator-ignite git commit: # ignite-709_3 # ignite-709_3 Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/06462598 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/06462598 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/06462598 Branch: refs/heads/ignite-709_2 Commit: 06462598ca5eeda3ea91e5ce841d3087daff3cbb Parents: 4937822 Author: sboikov Authored: Fri May 15 16:12:00 2015 +0300 Committer: sboikov Committed: Fri May 15 16:12:00 2015 +0300 ---------------------------------------------------------------------- ...cheNearOnlyLruNearEvictionPolicySelfTest.java | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/06462598/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/lru/GridCacheNearOnlyLruNearEvictionPolicySelfTest.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/lru/GridCacheNearOnlyLruNearEvictionPolicySelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/lru/GridCacheNearOnlyLruNearEvictionPolicySelfTest.java index 5d4ff85..c401180 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/lru/GridCacheNearOnlyLruNearEvictionPolicySelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/lru/GridCacheNearOnlyLruNearEvictionPolicySelfTest.java @@ -66,17 +66,18 @@ public class GridCacheNearOnlyLruNearEvictionPolicySelfTest extends GridCommonAb if (cnt == 0) c.setClientMode(true); + else { + CacheConfiguration cc = new CacheConfiguration(); - CacheConfiguration cc = new CacheConfiguration(); + cc.setAtomicityMode(atomicityMode); + cc.setCacheMode(cacheMode); + cc.setWriteSynchronizationMode(PRIMARY_SYNC); + cc.setRebalanceMode(SYNC); + cc.setStartSize(100); + cc.setBackups(0); - cc.setAtomicityMode(atomicityMode); - cc.setCacheMode(cacheMode); - cc.setWriteSynchronizationMode(PRIMARY_SYNC); - cc.setRebalanceMode(SYNC); - cc.setStartSize(100); - cc.setBackups(0); - - c.setCacheConfiguration(cc); + c.setCacheConfiguration(cc); + } TcpDiscoverySpi disco = new TcpDiscoverySpi();