You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2017/05/22 15:13:02 UTC

[34/50] [abbrv] ignite git commit: Ignite-5075 pending

Ignite-5075 pending


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

Branch: refs/heads/ignite-5075-pds
Commit: db7a809c81e6249460f3f7c491873765da3066ea
Parents: 8b0afe1
Author: Igor Seliverstov <gv...@gmail.com>
Authored: Fri May 19 12:58:40 2017 +0300
Committer: Igor Seliverstov <gv...@gmail.com>
Committed: Fri May 19 12:58:40 2017 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/cache/IgniteCacheGroupsTest.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/db7a809c/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheGroupsTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheGroupsTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheGroupsTest.java
index 48ce2ca..88b8c82 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheGroupsTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheGroupsTest.java
@@ -1870,9 +1870,9 @@ public class IgniteCacheGroupsTest extends GridCommonAbstractTest {
 
         Map<Integer, CacheInvokeResult<Integer>> res = cache.invokeAll(data.keySet(), new CacheEntryProcessor<Integer, Integer, Integer>() {
             @Override public Integer process(MutableEntry<Integer, Integer> entry, Object... arguments) throws EntryProcessorException {
-                Object removed = ((Map)arguments[0]).remove(entry.getKey());
+                Object expected = ((Map)arguments[0]).get(entry.getKey());
 
-                assertEquals(removed, entry.getValue());
+                assertEquals(expected, entry.getValue());
 
                 // Some calculation
                 return (Integer)arguments[1] + (Integer)arguments[2];