Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-218 b29ce67aa -> 145769fdd


[IGNITE-218]: fixed IpcCache 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/145769fd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/145769fd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/145769fd

Branch: refs/heads/ignite-218
Commit: 145769fddd53bd472329a636ed16b4b6a57bd2b7
Parents: b29ce67
Author: iveselovskiy <iveselovs...@gridgain.com>
Authored: Sat Apr 18 03:02:24 2015 +0300
Committer: iveselovskiy <iveselovs...@gridgain.com>
Committed: Sat Apr 18 03:02:24 2015 +0300

----------------------------------------------------------------------
 .../apache/ignite/igfs/IgniteHadoopFileSystemIpcCacheSelfTest.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/145769fd/modules/hadoop/src/test/java/org/apache/ignite/igfs/IgniteHadoopFileSystemIpcCacheSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/hadoop/src/test/java/org/apache/ignite/igfs/IgniteHadoopFileSystemIpcCacheSelfTest.java
 
b/modules/hadoop/src/test/java/org/apache/ignite/igfs/IgniteHadoopFileSystemIpcCacheSelfTest.java
index e103c5f..2c17ba9 100644
--- 
a/modules/hadoop/src/test/java/org/apache/ignite/igfs/IgniteHadoopFileSystemIpcCacheSelfTest.java
+++ 
b/modules/hadoop/src/test/java/org/apache/ignite/igfs/IgniteHadoopFileSystemIpcCacheSelfTest.java
@@ -144,6 +144,8 @@ public class IgniteHadoopFileSystemIpcCacheSelfTest extends 
IgfsCommonAbstractTe
 
         Map<String, HadoopIgfsIpcIo> cache = (Map<String, 
HadoopIgfsIpcIo>)cacheField.get(null);
 
+        cache.clear(); // avoid influence of previous tests in the same 
process.
+
         String name = "igfs:" + getTestGridName(0) + "@";
 
         Configuration cfg = new Configuration();

Reply via email to