ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [28/50] incubator-ignite git commit: # ignite-sprint-4 minor
Date Mon, 27 Apr 2015 15:36:18 GMT
# ignite-sprint-4 minor


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

Branch: refs/heads/ignite-646
Commit: 369ffd4e629bbfbab2c10c557e445c62eccae990
Parents: 381fd1a
Author: sboikov <sboikov@gridgain.com>
Authored: Fri Apr 24 12:10:04 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Fri Apr 24 12:10:04 2015 +0300

----------------------------------------------------------------------
 .../processors/cache/IgniteExcangeFutureHistoryTest.java | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/369ffd4e/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteExcangeFutureHistoryTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteExcangeFutureHistoryTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteExcangeFutureHistoryTest.java
index ba5198c..1de19de 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteExcangeFutureHistoryTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteExcangeFutureHistoryTest.java
@@ -53,7 +53,11 @@ public class IgniteExcangeFutureHistoryTest extends IgniteCacheAbstractTest
{
         return null;
     }
 
-    /** Checks reverse order of exchangeFutures. */
+    /**
+     * Checks reverse order of exchangeFutures.
+     *
+     * @throws Exception If failed.
+     */
     public void testExchangeFutures() throws Exception {
         GridCachePartitionExchangeManager mgr = ((IgniteKernal)grid(0)).internalCache().context().shared().exchange();
 
@@ -66,9 +70,8 @@ public class IgniteExcangeFutureHistoryTest extends IgniteCacheAbstractTest
{
 
             Collections.sort(sortedFuts, Collections.reverseOrder());
 
-            for (int j = 0; j < futs.size(); j++) {
-                assert futs.get(j).equals(sortedFuts.get(j));
-            }
+            for (int j = 0; j < futs.size(); j++)
+                assertEquals(futs.get(j), sortedFuts.get(j));
         }
     }
 }


Mime
View raw message