ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject ignite git commit: ignite-1534 debug
Date Wed, 30 Sep 2015 16:43:37 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1534 7c7994d3c -> 2e9c19312


ignite-1534 debug


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

Branch: refs/heads/ignite-1534
Commit: 2e9c193128bb667b06f7412c61845fa51bcf4c99
Parents: 7c7994d
Author: sboikov <semen.boikov@inria.fr>
Authored: Wed Sep 30 19:43:18 2015 +0300
Committer: sboikov <semen.boikov@inria.fr>
Committed: Wed Sep 30 19:43:18 2015 +0300

----------------------------------------------------------------------
 .../cache/distributed/CacheAffinityEarlyTest.java         |  4 ++--
 .../IgniteCacheCreatePutMultiNodeSelfTest2.java           | 10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/2e9c1931/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheAffinityEarlyTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheAffinityEarlyTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheAffinityEarlyTest.java
index 7490924..4f5ff52 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheAffinityEarlyTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheAffinityEarlyTest.java
@@ -88,9 +88,9 @@ public class CacheAffinityEarlyTest extends GridCommonAbstractTest {
             try {
                 log.info("Iteration: " + (i + 1) + '/' + iters);
 
-                doTest();
-
                 GridDebug.reset();
+
+                doTest();
             }
             finally {
                 stopAllGrids(true);

http://git-wip-us.apache.org/repos/asf/ignite/blob/2e9c1931/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteCacheCreatePutMultiNodeSelfTest2.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteCacheCreatePutMultiNodeSelfTest2.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteCacheCreatePutMultiNodeSelfTest2.java
index 96a38ab..6ffad24 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteCacheCreatePutMultiNodeSelfTest2.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteCacheCreatePutMultiNodeSelfTest2.java
@@ -90,11 +90,14 @@ public class IgniteCacheCreatePutMultiNodeSelfTest2 extends GridCommonAbstractTe
             while (System.currentTimeMillis() < stopTime) {
                 log.info("Iteration: " + iter++);
 
+                GridDebug.reset();
+
                 try {
                     final AtomicInteger idx = new AtomicInteger();
 
                     GridTestUtils.runMultiThreaded(new Callable<Void>() {
-                        @Override public Void call() throws Exception {
+                        @Override
+                        public Void call() throws Exception {
                             int node = idx.getAndIncrement();
 
                             Ignite ignite = startGrid(node);
@@ -106,8 +109,7 @@ public class IgniteCacheCreatePutMultiNodeSelfTest2 extends GridCommonAbstractTe
                             try {
                                 for (int i = 0; i < 100; i++)
                                     cache.put(i, i);
-                            }
-                            catch (CacheServerNotFoundException e) {
+                            } catch (CacheServerNotFoundException e) {
                                 synchronized (getClass()) {
                                     e.printStackTrace();
 
@@ -124,8 +126,6 @@ public class IgniteCacheCreatePutMultiNodeSelfTest2 extends GridCommonAbstractTe
                             return null;
                         }
                     }, GRID_CNT, "start");
-
-                    GridDebug.reset();
                 }
                 finally {
                     stopAllGrids();


Mime
View raw message