IGNITE-5340: Improved IgniteCacheAbstractQuerySelfTest to better test non-standard...
authortledkov-gridgain <tledkov@gridgain.com>
Wed, 5 Jul 2017 07:30:48 +0000 (10:30 +0300)
committerdevozerov <vozerov@gridgain.com>
Wed, 5 Jul 2017 07:30:48 +0000 (10:30 +0300)
modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheAbstractQuerySelfTest.java

index f3dbbb1..e58f983 100644 (file)
@@ -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);