ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: # ignite-157-debug
Date Tue, 28 Apr 2015 09:57:43 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-157-debug 66324685e -> 4651e3fe8


# ignite-157-debug


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

Branch: refs/heads/ignite-157-debug
Commit: 4651e3fe835360a700ecdb3c892bd5704163cbe5
Parents: 6632468
Author: sboikov <sboikov@gridgain.com>
Authored: Tue Apr 28 12:57:34 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Tue Apr 28 12:57:34 2015 +0300

----------------------------------------------------------------------
 .../cache/GridCacheAbstractFailoverSelfTest.java      | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4651e3fe/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFailoverSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFailoverSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFailoverSelfTest.java
index 0af62cf..0fb18f0 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFailoverSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFailoverSelfTest.java
@@ -182,17 +182,19 @@ public abstract class GridCacheAbstractFailoverSelfTest extends GridCacheAbstrac
                 info("Run topology change.");
 
                 try {
-                    String name = "new-node-" + Thread.currentThread().getName();
+                    String name = Thread.currentThread().getName() + "new-node-";
 
                     for (int i = 0; i < TOP_CHANGE_CNT && err.get() == null; i++)
{
                         info("Topology change " + i);
 
+                        String name0 = name + i;
+                        
                         try {
-                            TestDebugLog.addMessage("Start node " + name);
+                            TestDebugLog.addMessage("Start node " + name0);
 
-                            final Ignite g = startGrid(name);
+                            final Ignite g = startGrid(name0);
 
-                            TestDebugLog.addMessage("Started node " + name + " " + g.cluster().localNode().id());
+                            TestDebugLog.addMessage("Started node " + name0 + " " + g.cluster().localNode().id());
 
                             IgniteCache<String, Object> cache = g.<String, Object>cache(null).withAsync();
 
@@ -205,9 +207,9 @@ public abstract class GridCacheAbstractFailoverSelfTest extends GridCacheAbstrac
                             }
                         }
                         finally {
-                            TestDebugLog.addMessage("Stop node " + name + " " + G.ignite(name).cluster().localNode().id());
+                            TestDebugLog.addMessage("Stop node " + name0 + " " + G.ignite(name0).cluster().localNode().id());
 
-                            G.stop(name, false);
+                            G.stop(name0, false);
                         }
                     }
                 }


Mime
View raw message