You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2016/01/04 12:07:05 UTC
ignite git commit: IGNITE-2206: Debug.
Repository: ignite
Updated Branches:
refs/heads/ignite-2206 bc6a3f124 -> f7dcbdd94
IGNITE-2206: Debug.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/f7dcbdd9
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/f7dcbdd9
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/f7dcbdd9
Branch: refs/heads/ignite-2206
Commit: f7dcbdd943fe320ad3a4a979e6698e46e95d125f
Parents: bc6a3f1
Author: vozerov-gridgain <vo...@gridgain.com>
Authored: Mon Jan 4 14:08:07 2016 +0400
Committer: vozerov-gridgain <vo...@gridgain.com>
Committed: Mon Jan 4 14:08:07 2016 +0400
----------------------------------------------------------------------
.../ignite/igfs/IgniteHadoopFileSystemAbstractSelfTest.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/f7dcbdd9/modules/hadoop/src/test/java/org/apache/ignite/igfs/IgniteHadoopFileSystemAbstractSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/hadoop/src/test/java/org/apache/ignite/igfs/IgniteHadoopFileSystemAbstractSelfTest.java b/modules/hadoop/src/test/java/org/apache/ignite/igfs/IgniteHadoopFileSystemAbstractSelfTest.java
index a0c781f..c33f7b6 100644
--- a/modules/hadoop/src/test/java/org/apache/ignite/igfs/IgniteHadoopFileSystemAbstractSelfTest.java
+++ b/modules/hadoop/src/test/java/org/apache/ignite/igfs/IgniteHadoopFileSystemAbstractSelfTest.java
@@ -48,6 +48,7 @@ import org.apache.ignite.internal.util.GridConcurrentHashSet;
import org.apache.ignite.internal.util.lang.GridAbsPredicate;
import org.apache.ignite.internal.util.typedef.F;
import org.apache.ignite.internal.util.typedef.G;
+import org.apache.ignite.internal.util.typedef.X;
import org.apache.ignite.internal.util.typedef.internal.U;
import org.apache.ignite.lang.IgniteBiTuple;
import org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi;
@@ -488,6 +489,8 @@ public abstract class IgniteHadoopFileSystemAbstractSelfTest extends IgfsCommonA
// Initial cache size.
int initSize = cache.size();
+ X.print(">>> Initial IO cache size: " + initSize);
+
// Ensure that when IO is used by multiple file systems and one of them is closed, IO is not stopped.
fsOther = FileSystem.get(new URI(PRIMARY_URI), cfg);
@@ -520,7 +523,7 @@ public abstract class IgniteHadoopFileSystemAbstractSelfTest extends IgfsCommonA
// Ensure that IO is stopped when nobody else is need it.
fs.close();
- assertEquals(initSize - 1, cache.size());
+ assertEquals(cache.keySet().toString(), initSize - 1, cache.size());
assert (Boolean)stopField.get(io);
}