ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ptupit...@apache.org
Subject [2/8] ignite git commit: IGNITE-3693: IGFS: Fixed sporadical failures in IgfsLocalSecondaryFileSystemDualAsyncSelfTest.testFormat. This closes #960.
Date Tue, 23 Aug 2016 11:24:47 GMT
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 <tledkov@gridgain.com>
Authored: Mon Aug 22 17:37:14 2016 +0300
Committer: vozerov-gridgain <vozerov@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;
 


Mime
View raw message