ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yzhda...@apache.org
Subject [05/50] incubator-ignite git commit: ignite-341 - tests
Date Fri, 27 Mar 2015 14:19:02 GMT
ignite-341 - tests


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

Branch: refs/heads/ignite-443
Commit: e712b490a9b7e036186605bb58ac88fd35d2045a
Parents: 5771dca
Author: S.Vladykin <svladykin@gridgain.com>
Authored: Wed Mar 25 17:33:47 2015 +0300
Committer: S.Vladykin <svladykin@gridgain.com>
Committed: Wed Mar 25 17:33:47 2015 +0300

----------------------------------------------------------------------
 .../cache/IgniteCacheQueryMultiThreadedSelfTest.java          | 7 +------
 .../ignite/testsuites/IgniteCacheQuerySelfTestSuite.java      | 2 +-
 2 files changed, 2 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e712b490/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheQueryMultiThreadedSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheQueryMultiThreadedSelfTest.java
b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheQueryMultiThreadedSelfTest.java
index f21d50b..8029cf3 100644
--- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheQueryMultiThreadedSelfTest.java
+++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheQueryMultiThreadedSelfTest.java
@@ -370,12 +370,7 @@ public class IgniteCacheQueryMultiThreadedSelfTest extends GridCommonAbstractTes
                         case 4:
                             int from = rnd.nextInt(valCnt);
 
-                            Collection<Cache.Entry<Integer, Long>> res = c.query(new
SqlQuery(Long.class,
-                                "_val between ? and ?").setArgs(from, from + 250)).getAll();
-
-                            for (Cache.Entry<Integer, Long> ignored : res) {
-                                //No-op.
-                            }
+                            c.query(new SqlQuery(Long.class, "_val between ? and ?").setArgs(from,
from + 250)).getAll();
                     }
                 }
             }

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e712b490/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteCacheQuerySelfTestSuite.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteCacheQuerySelfTestSuite.java
b/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteCacheQuerySelfTestSuite.java
index e29af9f..e3926f3 100644
--- a/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteCacheQuerySelfTestSuite.java
+++ b/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteCacheQuerySelfTestSuite.java
@@ -57,7 +57,7 @@ public class IgniteCacheQuerySelfTestSuite extends TestSuite {
         suite.addTestSuite(IgniteCacheQueryIndexSelfTest.class);
         suite.addTestSuite(GridCacheQueryInternalKeysSelfTest.class);
         suite.addTestSuite(IgniteCacheQueryMultiThreadedSelfTest.class);
-        //suite.addTestSuite(IgniteCacheQueryEvictsMultiThreadedSelfTest.class);
+        suite.addTestSuite(IgniteCacheQueryEvictsMultiThreadedSelfTest.class);
         suite.addTestSuite(IgniteCacheQueryOffheapMultiThreadedSelfTest.class);
         suite.addTestSuite(IgniteCacheQueryOffheapEvictsMultiThreadedSelfTest.class);
         suite.addTestSuite(IgniteCacheSqlQueryMultiThreadedSelfTest.class);


Mime
View raw message