ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject ignite git commit: IGNITE-4436 Tests.
Date Mon, 13 Feb 2017 11:49:42 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-4436-2 ce374cd9e -> ee2931a7a


IGNITE-4436 Tests.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/ee2931a7
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/ee2931a7
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/ee2931a7

Branch: refs/heads/ignite-4436-2
Commit: ee2931a7aadde04b85a80e67aea598eef3709f1a
Parents: ce374cd
Author: Alexey Kuznetsov <akuznetsov@apache.org>
Authored: Mon Feb 13 18:49:34 2017 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Mon Feb 13 18:49:34 2017 +0700

----------------------------------------------------------------------
 .../processors/cache/CacheSqlQueryValueCopySelfTest.java         | 4 ++--
 .../processors/cache/GridCacheCrossCacheQuerySelfTest.java       | 4 ----
 2 files changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/ee2931a7/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/CacheSqlQueryValueCopySelfTest.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/CacheSqlQueryValueCopySelfTest.java
b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/CacheSqlQueryValueCopySelfTest.java
index 4fc7e53..66e7e4a 100644
--- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/CacheSqlQueryValueCopySelfTest.java
+++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/CacheSqlQueryValueCopySelfTest.java
@@ -272,7 +272,7 @@ public class CacheSqlQueryValueCopySelfTest extends GridCommonAbstractTest
{
      * @throws Exception If failed.
      */
     public void testRunningSqlQuery() throws Exception {
-        IgniteInternalFuture<?> fut = runQueryAsync(new SqlQuery(Value.class, "id >
sleep(100)"));
+        IgniteInternalFuture<?> fut = runQueryAsync(new SqlQuery<Integer, Value>(Value.class,
"id > sleep(100)"));
 
         Thread.sleep(500);
 
@@ -288,7 +288,7 @@ public class CacheSqlQueryValueCopySelfTest extends GridCommonAbstractTest
{
 
         assertEquals(0, queries.size());
 
-        SqlQuery qry = new SqlQuery(Value.class, "id > sleep(100)");
+        SqlQuery<Integer, Value> qry = new SqlQuery<>(Value.class, "id > sleep(100)");
         qry.setLocal(true);
 
         fut = runQueryAsync(qry);

http://git-wip-us.apache.org/repos/asf/ignite/blob/ee2931a7/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheCrossCacheQuerySelfTest.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheCrossCacheQuerySelfTest.java
b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheCrossCacheQuerySelfTest.java
index 337ae29..01fefa3 100644
--- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheCrossCacheQuerySelfTest.java
+++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheCrossCacheQuerySelfTest.java
@@ -18,7 +18,6 @@
 package org.apache.ignite.internal.processors.cache;
 
 import java.util.ArrayList;
-import java.util.Collection;
 import java.util.Collections;
 import java.util.Comparator;
 import java.util.HashSet;
@@ -32,12 +31,9 @@ import org.apache.ignite.cache.CacheMode;
 import org.apache.ignite.cache.CacheWriteSynchronizationMode;
 import org.apache.ignite.cache.query.SqlFieldsQuery;
 import org.apache.ignite.cache.query.annotations.QuerySqlField;
-import org.apache.ignite.cache.query.annotations.QuerySqlFunction;
 import org.apache.ignite.configuration.CacheConfiguration;
 import org.apache.ignite.configuration.IgniteConfiguration;
-import org.apache.ignite.internal.IgniteInternalFuture;
 import org.apache.ignite.internal.IgniteKernal;
-import org.apache.ignite.internal.processors.query.GridRunningQueryInfo;
 import org.apache.ignite.internal.processors.query.GridQueryProcessor;
 import org.apache.ignite.internal.util.typedef.X;
 import org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi;


Mime
View raw message