Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C1C24200CE5 for ; Fri, 7 Jul 2017 11:37:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C077B168B1C; Fri, 7 Jul 2017 09:37:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9EE6C168B1D for ; Fri, 7 Jul 2017 11:37:04 +0200 (CEST) Received: (qmail 77222 invoked by uid 500); 7 Jul 2017 09:37:03 -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 77088 invoked by uid 99); 7 Jul 2017 09:37:03 -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, 07 Jul 2017 09:37:03 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C93BDE964C; Fri, 7 Jul 2017 09:37:02 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: vozerov@apache.org To: commits@ignite.apache.org Date: Fri, 07 Jul 2017 09:37:05 -0000 Message-Id: <81b590c4491643df900f5a1706c25fab@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [04/50] [abbrv] ignite git commit: IGNITE-5340: Improved IgniteCacheAbstractQuerySelfTest to better test non-standard index names. This closes #2206. archived-at: Fri, 07 Jul 2017 09:37:05 -0000 IGNITE-5340: Improved IgniteCacheAbstractQuerySelfTest to better test non-standard index names. This closes #2206. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/54572c30 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/54572c30 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/54572c30 Branch: refs/heads/master Commit: 54572c3023dc03a55621fbb4754888b081791e31 Parents: 5b7165c Author: tledkov-gridgain Authored: Wed Jul 5 10:30:48 2017 +0300 Committer: devozerov Committed: Wed Jul 5 10:30:48 2017 +0300 ---------------------------------------------------------------------- .../processors/cache/IgniteCacheAbstractQuerySelfTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/54572c30/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheAbstractQuerySelfTest.java ---------------------------------------------------------------------- diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheAbstractQuerySelfTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheAbstractQuerySelfTest.java index f3dbbb1..e58f983 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheAbstractQuerySelfTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheAbstractQuerySelfTest.java @@ -179,7 +179,8 @@ public abstract class IgniteCacheAbstractQuerySelfTest extends GridCommonAbstrac qryEntity.addQueryField("id", Integer.class.getName(), null); qryEntity.addQueryField("name", String.class.getName(), null); qryEntity.setTableName("Type2"); - qryEntity.setIndexes(Arrays.asList(new QueryIndex("id"))); + qryEntity.setIndexes(Arrays.asList(new QueryIndex("id") + .setName("index~!@#$%^&*()_=-+;[]{}|?,.*`:nameWithNonLetterSymbols"))); entityList.add(qryEntity);