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 CE6F0189A6 for ; Fri, 29 May 2015 12:46:28 +0000 (UTC) Received: (qmail 68925 invoked by uid 500); 29 May 2015 12:46:28 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 68890 invoked by uid 500); 29 May 2015 12:46:28 -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 68841 invoked by uid 99); 29 May 2015 12:46:28 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 May 2015 12:46:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 332CE182399 for ; Fri, 29 May 2015 12:46:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-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-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id vT9FiaUjyVL4 for ; Fri, 29 May 2015 12:46:17 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id 5EB8C2546F for ; Fri, 29 May 2015 12:46:09 +0000 (UTC) Received: (qmail 67173 invoked by uid 99); 29 May 2015 12:46: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; Fri, 29 May 2015 12:46:09 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 27470E111E; Fri, 29 May 2015 12:46:09 +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: Fri, 29 May 2015 12:46:18 -0000 Message-Id: <866ea0c76ff34f4dbae7978d73c6a979@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [11/50] incubator-ignite git commit: # IGNITE-709 Fix IgniteCacheP2pUnmarshallingQueryErrorTest # IGNITE-709 Fix IgniteCacheP2pUnmarshallingQueryErrorTest Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/9480e8de Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/9480e8de Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/9480e8de Branch: refs/heads/ignite-929 Commit: 9480e8deccfd80d7518f633efdb825d72b47227c Parents: 4b790a8 Author: sevdokimov Authored: Sun May 24 23:00:39 2015 +0300 Committer: sevdokimov Committed: Sun May 24 23:00:39 2015 +0300 ---------------------------------------------------------------------- .../cache/IgniteCacheP2pUnmarshallingQueryErrorTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/9480e8de/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheP2pUnmarshallingQueryErrorTest.java ---------------------------------------------------------------------- diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheP2pUnmarshallingQueryErrorTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheP2pUnmarshallingQueryErrorTest.java index b2095a8..b171ead 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheP2pUnmarshallingQueryErrorTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheP2pUnmarshallingQueryErrorTest.java @@ -30,7 +30,8 @@ public class IgniteCacheP2pUnmarshallingQueryErrorTest extends IgniteCacheP2pUnm @Override protected IgniteConfiguration getConfiguration(String gridName) throws Exception { IgniteConfiguration cfg = super.getConfiguration(gridName); - cfg.getCacheConfiguration()[0].setIndexedTypes(TestKey.class, String.class); + if (cfg.getCacheConfiguration().length > 0) + cfg.getCacheConfiguration()[0].setIndexedTypes(TestKey.class, String.class); return cfg; }