ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [22/50] [abbrv] ignite git commit: IGNITE-9130 Test fixed ZookeeperDiscoverySpiTest.testDuplicatedNodeId. - Fixes #4458.
Date Fri, 03 Aug 2018 09:58:35 GMT
IGNITE-9130 Test fixed ZookeeperDiscoverySpiTest.testDuplicatedNodeId. - Fixes #4458.

Signed-off-by: Dmitriy Pavlov <dpavlov@apache.org>


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

Branch: refs/heads/ignite-8446
Commit: 8bbcda3598487a6784da86655c5ec607c570f0e2
Parents: 1f06420
Author: Vitaliy Biryukov <BiryukovVitaliy92@gmail.com>
Authored: Tue Jul 31 17:37:04 2018 +0300
Committer: Dmitriy Pavlov <dpavlov@apache.org>
Committed: Tue Jul 31 17:37:04 2018 +0300

----------------------------------------------------------------------
 .../spi/discovery/zk/internal/ZookeeperDiscoverySpiTest.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/8bbcda35/modules/zookeeper/src/test/java/org/apache/ignite/spi/discovery/zk/internal/ZookeeperDiscoverySpiTest.java
----------------------------------------------------------------------
diff --git a/modules/zookeeper/src/test/java/org/apache/ignite/spi/discovery/zk/internal/ZookeeperDiscoverySpiTest.java
b/modules/zookeeper/src/test/java/org/apache/ignite/spi/discovery/zk/internal/ZookeeperDiscoverySpiTest.java
index cc80a72..f38a097 100644
--- a/modules/zookeeper/src/test/java/org/apache/ignite/spi/discovery/zk/internal/ZookeeperDiscoverySpiTest.java
+++ b/modules/zookeeper/src/test/java/org/apache/ignite/spi/discovery/zk/internal/ZookeeperDiscoverySpiTest.java
@@ -2554,10 +2554,10 @@ public class ZookeeperDiscoverySpiTest extends GridCommonAbstractTest
{
                 }
             }, IgniteCheckedException.class, null);
 
-            IgniteSpiException spiErr = X.cause(err, IgniteSpiException.class);
+            assertTrue(err instanceof IgniteCheckedException);
 
-            assertNotNull(spiErr);
-            assertTrue(spiErr.getMessage().contains("Node with the same ID already exists"));
+            assertTrue(err.getMessage().contains("Failed to start processor:")
+                || err.getMessage().contains("Failed to start manager:"));
 
             nodeId = null;
 


Mime
View raw message