ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject ignite git commit: IGNITE-5340: Improved IgniteCacheAbstractQuerySelfTest to better test non-standard index names. This closes #2206.
Date Wed, 05 Jul 2017 07:31:14 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-2.1 5b7165ca7 -> 54572c302


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/ignite-2.1
Commit: 54572c3023dc03a55621fbb4754888b081791e31
Parents: 5b7165c
Author: tledkov-gridgain <tledkov@gridgain.com>
Authored: Wed Jul 5 10:30:48 2017 +0300
Committer: devozerov <vozerov@gridgain.com>
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);
 


Mime
View raw message