Repository: ignite
Updated Branches:
  refs/heads/ignite-7708 eced6a11a -> 34490b290


IGNITE-7708 Debug


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

Branch: refs/heads/ignite-7708
Commit: 34490b290b8f56300746d5691026e8a464d75dd5
Parents: eced6a1
Author: Alexey Goncharuk <alexey.goncha...@gmail.com>
Authored: Mon Apr 16 20:24:14 2018 +0300
Committer: Alexey Goncharuk <alexey.goncha...@gmail.com>
Committed: Mon Apr 16 20:24:14 2018 +0300

----------------------------------------------------------------------
 .../apache/ignite/testframework/junits/GridAbstractTest.java | 8 +++++---
 .../junits/IgniteConfigVariationsAbstractTest.java           | 2 ++
 2 files changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/34490b29/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
 
b/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
index f5784eb..d3999be 100755
--- 
a/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
@@ -1679,9 +1679,8 @@ public abstract class GridAbstractTest extends TestCase {
 
         TestCounters cntrs = getTestCounters();
 
-        if (isDebug())
-            info("Test counters [numOfTests=" + cntrs.getNumberOfTests() + ", 
started=" + cntrs.getStarted() +
-                ", stopped=" + cntrs.getStopped() + ']');
+        info("Test counters [numOfTests=" + cntrs.getNumberOfTests() + ", 
started=" + cntrs.getStarted() +
+            ", stopped=" + cntrs.getStopped() + ']');
 
         try {
             afterTest();
@@ -1694,6 +1693,9 @@ public abstract class GridAbstractTest extends TestCase {
 
                 TestCounters counters = getTestCounters();
 
+                info("Test counters [numOfTests=" + 
counters.getNumberOfTests() + ", started=" + counters.getStarted() +
+                    ", stopped=" + counters.getStopped() + ']');
+
                 // Stop all threads started by runMultithreaded() methods.
                 GridTestUtils.stopThreads(log);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/34490b29/modules/core/src/test/java/org/apache/ignite/testframework/junits/IgniteConfigVariationsAbstractTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/testframework/junits/IgniteConfigVariationsAbstractTest.java
 
b/modules/core/src/test/java/org/apache/ignite/testframework/junits/IgniteConfigVariationsAbstractTest.java
index 2e6031c..9b5b116 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/testframework/junits/IgniteConfigVariationsAbstractTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/testframework/junits/IgniteConfigVariationsAbstractTest.java
@@ -175,6 +175,8 @@ public abstract class IgniteConfigVariationsAbstractTest 
extends GridCommonAbstr
         if (testsCfg.withClients())
             resCfg.setClientMode(expectedClient(igniteInstanceName));
 
+        info("Creating cache configuration [instanceName=" + 
igniteInstanceName + ", cfg=" + cfg + ']');
+
         return resCfg;
     }
 

Reply via email to