You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by av...@apache.org on 2015/12/15 13:22:20 UTC

[1/2] ignite git commit: Fixed test output.

Repository: ignite
Updated Branches:
  refs/heads/ignite-1.5 98a87c4fb -> eb6a87ab6


Fixed test output.


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

Branch: refs/heads/ignite-1.5
Commit: 4b3fcfb62fbded61d854d5404bdaba0b7f2637a3
Parents: e2a0390
Author: Anton Vinogradov <av...@apache.org>
Authored: Tue Dec 15 15:21:50 2015 +0300
Committer: Anton Vinogradov <av...@apache.org>
Committed: Tue Dec 15 15:21:50 2015 +0300

----------------------------------------------------------------------
 .../rebalancing/GridCacheRebalancingSyncSelfTest.java     | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/4b3fcfb6/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/GridCacheRebalancingSyncSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/GridCacheRebalancingSyncSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/GridCacheRebalancingSyncSelfTest.java
index 3b25bd7..09f9e58 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/GridCacheRebalancingSyncSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/GridCacheRebalancingSyncSelfTest.java
@@ -140,8 +140,9 @@ public class GridCacheRebalancingSyncSelfTest extends GridCommonAbstractTest {
      */
     protected void generateData(Ignite ignite, String name, int from, int iter) {
         for (int i = from; i < from + TEST_SIZE; i++) {
-            if (i % (TEST_SIZE / 10) == 0)
-                log.info("Prepared " + i * 100 / (TEST_SIZE) + "% entries (" + TEST_SIZE + ").");
+            if ((i + 1) % (TEST_SIZE / 10) == 0)
+                log.info("Prepared " + (i + 1) * 100 / (TEST_SIZE) + "% entries. [count=" + TEST_SIZE +
+                    ", iteration=" + iter + ", cache=" + name + "]");
 
             ignite.cache(name).put(i, i + name.hashCode() + iter);
         }
@@ -167,8 +168,9 @@ public class GridCacheRebalancingSyncSelfTest extends GridCommonAbstractTest {
      */
     protected void checkData(Ignite ignite, String name, int from, int iter) {
         for (int i = from; i < from + TEST_SIZE; i++) {
-            if (i % (TEST_SIZE / 10) == 0)
-                log.info("<" + name + "> Checked " + i * 100 / (TEST_SIZE) + "% entries (" + TEST_SIZE + ").");
+            if ((i + 1) % (TEST_SIZE / 10) == 0)
+                log.info("<" + name + "> Checked " + (i + 1) * 100 / (TEST_SIZE) + "% entries. [count=" + TEST_SIZE +
+                    ", iteration=" + iter + ", cache=" + name + "]");
 
             assert ignite.cache(name).get(i) != null && ignite.cache(name).get(i).equals(i + name.hashCode() + iter) :
                 i + " value " + (i + name.hashCode() + iter) + " does not match (" + ignite.cache(name).get(i) + ")";


[2/2] ignite git commit: Merge remote-tracking branch 'origin/ignite-1.5' into ignite-1.5

Posted by av...@apache.org.
Merge remote-tracking branch 'origin/ignite-1.5' into ignite-1.5


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

Branch: refs/heads/ignite-1.5
Commit: eb6a87ab6acc2dad2aacfdf8865b45e614a3ef49
Parents: 4b3fcfb 98a87c4
Author: Anton Vinogradov <av...@apache.org>
Authored: Tue Dec 15 15:22:15 2015 +0300
Committer: Anton Vinogradov <av...@apache.org>
Committed: Tue Dec 15 15:22:15 2015 +0300

----------------------------------------------------------------------
 bin/ignitevisorcmd.bat | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------