You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by pt...@apache.org on 2016/08/23 11:24:47 UTC

[2/8] ignite git commit: IGNITE-3693: IGFS: Fixed sporadical failures in IgfsLocalSecondaryFileSystemDualAsyncSelfTest.testFormat. This closes #960.

IGNITE-3693: IGFS: Fixed sporadical failures in IgfsLocalSecondaryFileSystemDualAsyncSelfTest.testFormat. This closes #960.


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

Branch: refs/heads/master
Commit: fa13832132ad71cd3b3ad259784e2e7ec5366c28
Parents: 5b57fc0
Author: tledkov-gridgain <tl...@gridgain.com>
Authored: Mon Aug 22 17:37:14 2016 +0300
Committer: vozerov-gridgain <vo...@gridgain.com>
Committed: Mon Aug 22 17:37:14 2016 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/igfs/IgfsAbstractSelfTest.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/fa138321/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsAbstractSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsAbstractSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsAbstractSelfTest.java
index 236a589..86c2449 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsAbstractSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsAbstractSelfTest.java
@@ -1071,12 +1071,14 @@ public abstract class IgfsAbstractSelfTest extends IgfsCommonAbstractTest {
             os.write(new byte[10 * 1024 * 1024]);
         }
 
+        awaitFileClose(igfs, FILE);
+
         if (dual)
             checkExist(igfsSecondary, DIR, SUBDIR, FILE, DIR_NEW, SUBDIR_NEW, FILE_NEW);
 
         checkExist(igfs, DIR, SUBDIR, FILE);
 
-        assert igfs.info(FILE).length() == 10 * 1024 * 1024;
+        assertEquals(10 * 1024 * 1024, igfs.info(FILE).length());
 
         assert dataCache.size(new CachePeekMode[] {CachePeekMode.ALL}) > 0;