# IGNITE-56 Fix GridCacheInterceptorAbstractSelfTest.testGetAll() test.

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

Branch: refs/heads/ignite-51
Commit: 68a23d98eb7a72d868734a3a78b71a0848968472
Parents: d82f4cb
Author: sevdokimov <sergey.evdoki...@jetbrains.com>
Authored: Sun Feb 8 19:48:33 2015 +0300
Committer: sevdokimov <sergey.evdoki...@jetbrains.com>
Committed: Sun Feb 8 19:48:33 2015 +0300

----------------------------------------------------------------------
 .../processors/cache/GridCacheInterceptorAbstractSelfTest.java  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/68a23d98/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheInterceptorAbstractSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheInterceptorAbstractSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheInterceptorAbstractSelfTest.java
index 594d990..1b3ba1e 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheInterceptorAbstractSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheInterceptorAbstractSelfTest.java
@@ -250,7 +250,7 @@ public abstract class GridCacheInterceptorAbstractSelfTest 
extends GridCacheAbst
      * @throws Exception If failed.
      */
     public void testGetAll() throws Exception {
-        Set<String> keys = new HashSet<>();
+        Set<String> keys = new LinkedHashSet<>();
 
         for (int i = 0; i < 1000; i++)
             keys.add(String.valueOf(i));
@@ -329,9 +329,8 @@ public abstract class GridCacheInterceptorAbstractSelfTest 
extends GridCacheAbst
                 }
             };
 
-            if (j == 0) {
+            if (j == 0)
                 map = cache.getAll(keys);
-            }
             else {
                 cacheAsync.getAll(keys);
 

Reply via email to