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 2015/04/10 11:30:56 UTC
incubator-ignite git commit: # IGNITE-625: Fixing test.
Repository: incubator-ignite
Updated Branches:
refs/heads/ignite-625-1 c8fdb6e51 -> 8716fe0cc
# IGNITE-625: Fixing 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/8716fe0c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/8716fe0c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/8716fe0c
Branch: refs/heads/ignite-625-1
Commit: 8716fe0cc9dde2a777855248a003fae4850c55ad
Parents: c8fdb6e
Author: vozerov-gridgain <vo...@gridgain.com>
Authored: Fri Apr 10 12:31:06 2015 +0300
Committer: vozerov-gridgain <vo...@gridgain.com>
Committed: Fri Apr 10 12:31:06 2015 +0300
----------------------------------------------------------------------
.../IgniteHadoopFileSystemAbstractSelfTest.java | 29 ++++++++------------
1 file changed, 12 insertions(+), 17 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8716fe0c/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 5f0dcf7..d9a3c59 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
@@ -1936,28 +1936,23 @@ public abstract class IgniteHadoopFileSystemAbstractSelfTest extends IgfsCommonA
/** @throws Exception If failed. */
public void testConsistency() throws Exception {
- while (true) {
- // Default buffers values
- checkConsistency(-1, 1, -1, -1, 1, -1);
- checkConsistency(-1, 10, -1, -1, 10, -1);
- checkConsistency(-1, 100, -1, -1, 100, -1);
- checkConsistency(-1, 1000, -1, -1, 1000, -1);
- checkConsistency(-1, 10000, -1, -1, 10000, -1);
- checkConsistency(-1, 100000, -1, -1, 100000, -1);
+ // Default buffers values
+ checkConsistency(-1, 1, -1, -1, 1, -1);
+ checkConsistency(-1, 10, -1, -1, 10, -1);
+ checkConsistency(-1, 100, -1, -1, 100, -1);
+ checkConsistency(-1, 1000, -1, -1, 1000, -1);
+ checkConsistency(-1, 10000, -1, -1, 10000, -1);
+ checkConsistency(-1, 100000, -1, -1, 100000, -1);
- checkConsistency(65 * 1024 + 13, 100000, -1, -1, 100000, -1);
+ checkConsistency(65 * 1024 + 13, 100000, -1, -1, 100000, -1);
- checkConsistency(-1, 100000, 2 * 4 * 1024 + 17, -1, 100000, -1);
+ checkConsistency(-1, 100000, 2 * 4 * 1024 + 17, -1, 100000, -1);
- checkConsistency(-1, 100000, -1, 65 * 1024 + 13, 100000, -1);
+ checkConsistency(-1, 100000, -1, 65 * 1024 + 13, 100000, -1);
- checkConsistency(-1, 100000, -1, -1, 100000, 2 * 4 * 1024 + 17);
+ checkConsistency(-1, 100000, -1, -1, 100000, 2 * 4 * 1024 + 17);
- checkConsistency(65 * 1024 + 13, 100000, 2 * 4 * 1024 + 13, 65 * 1024 + 149, 100000, 2 * 4 * 1024 + 157);
-
- afterTest();
- beforeTest();
- }
+ checkConsistency(65 * 1024 + 13, 100000, 2 * 4 * 1024 + 13, 65 * 1024 + 149, 100000, 2 * 4 * 1024 + 157);
}
/**