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 D0781184DF for ; Thu, 4 Jun 2015 18:29:16 +0000 (UTC) Received: (qmail 64988 invoked by uid 500); 4 Jun 2015 18:29:16 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 64960 invoked by uid 500); 4 Jun 2015 18:29:16 -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 64951 invoked by uid 99); 4 Jun 2015 18:29:16 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2015 18:29:16 +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 3A3421A4512 for ; Thu, 4 Jun 2015 18:29:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.791 X-Spam-Level: X-Spam-Status: No, score=0.791 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, 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 uVr2oQg4B4xj for ; Thu, 4 Jun 2015 18:29:02 +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 E92AA24F8D for ; Thu, 4 Jun 2015 18:29:00 +0000 (UTC) Received: (qmail 64142 invoked by uid 99); 4 Jun 2015 18:29:00 -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, 04 Jun 2015 18:29:00 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id DD301E10AC; Thu, 4 Jun 2015 18:28:59 +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: Thu, 04 Jun 2015 18:29:12 -0000 Message-Id: <705731278e8a40ddadd35681c9329aa5@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [14/18] incubator-ignite git commit: # ignite-981 # ignite-981 Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/a6ea325c Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/a6ea325c Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/a6ea325c Branch: refs/heads/ignite-883_1 Commit: a6ea325cf751cd9197eb80230cedc76a6a30daa4 Parents: ddcb2a3 Author: sboikov Authored: Thu Jun 4 13:41:59 2015 +0300 Committer: sboikov Committed: Thu Jun 4 13:41:59 2015 +0300 ---------------------------------------------------------------------- .../internal/processors/igfs/IgfsClientCacheSelfTest.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a6ea325c/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsClientCacheSelfTest.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsClientCacheSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsClientCacheSelfTest.java index 02166c4..9cda1b4 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsClientCacheSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsClientCacheSelfTest.java @@ -85,13 +85,16 @@ public class IgfsClientCacheSelfTest extends IgfsAbstractSelfTest { cfg.setCacheConfiguration(cacheConfiguration(META_CACHE_NAME), cacheConfiguration(DATA_CACHE_NAME), cacheConfiguration(CACHE_NAME)); - if (!gridName.equals(getTestGridName(0))) - cfg.setClientMode(true); - TcpDiscoverySpi disco = new TcpDiscoverySpi(); disco.setIpFinder(IP_FINDER); + if (!gridName.equals(getTestGridName(0))) { + cfg.setClientMode(true); + + disco.setForceServerMode(true); + } + cfg.setDiscoverySpi(disco); FileSystemConfiguration igfsCfg = new FileSystemConfiguration();