ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ivasilin...@apache.org
Subject incubator-ignite git commit: #ignite-1109: change test TcpDiscoveryNodeConfigConsistentIdSelfTest.
Date Thu, 09 Jul 2015 09:49:56 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-1109 a8d5bbe2f -> e32ac42bf


#ignite-1109: change test TcpDiscoveryNodeConfigConsistentIdSelfTest.


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

Branch: refs/heads/ignite-1109
Commit: e32ac42bf13456ded531df9c6559d42c308ed154
Parents: a8d5bbe
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Thu Jul 9 12:49:50 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Thu Jul 9 12:49:50 2015 +0300

----------------------------------------------------------------------
 .../tcp/TcpDiscoveryNodeConfigConsistentIdSelfTest.java       | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e32ac42b/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoveryNodeConfigConsistentIdSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoveryNodeConfigConsistentIdSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoveryNodeConfigConsistentIdSelfTest.java
index 4610a2d..6abe1d6 100644
--- a/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoveryNodeConfigConsistentIdSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoveryNodeConfigConsistentIdSelfTest.java
@@ -46,7 +46,7 @@ public class TcpDiscoveryNodeConfigConsistentIdSelfTest extends GridCommonAbstra
 
     /** {@inheritDoc} */
     @Override protected void beforeTest() throws Exception {
-        startGrids(1);
+        startGrids(2);
     }
 
     /** {@inheritDoc} */
@@ -63,11 +63,12 @@ public class TcpDiscoveryNodeConfigConsistentIdSelfTest extends GridCommonAbstra
 
         assertEquals(id0, id1);
         assertEquals(grid(0).name(), id0);
+        assertEquals(id0, grid(1).cluster().forRemotes().node().consistentId());
 
-        for (int i = 0; i < 10; ++i) {
+        for (int i = 0; i < 4; ++i) {
             stopAllGrids();
 
-            startGrids(1);
+            startGrids(2);
 
             assertEquals(id0, grid(0).localNode().consistentId());
         }


Mime
View raw message