You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/05/19 21:40:00 UTC
[08/11] incubator-ignite git commit: # IGNITE-709 Add temporary code
to understand fail of the test.
# IGNITE-709 Add temporary code to understand fail of the test.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/a48dd264
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/a48dd264
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/a48dd264
Branch: refs/heads/ignite-23
Commit: a48dd2648d1c83bd2cb63309718e0212fbc0994b
Parents: 8972acd
Author: sevdokimov <se...@gridgain.com>
Authored: Tue May 19 14:00:16 2015 +0300
Committer: sevdokimov <se...@gridgain.com>
Committed: Tue May 19 14:00:16 2015 +0300
----------------------------------------------------------------------
.../discovery/GridDiscoveryManagerAttributesSelfTest.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a48dd264/modules/core/src/test/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManagerAttributesSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManagerAttributesSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManagerAttributesSelfTest.java
index 77e6d52..2698eca 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManagerAttributesSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManagerAttributesSelfTest.java
@@ -127,7 +127,8 @@ public abstract class GridDiscoveryManagerAttributesSelfTest extends GridCommonA
fail();
}
catch (IgniteCheckedException e) {
- assertTrue(e.getCause().getMessage().startsWith("Remote node has deployment mode different from"));
+ if (!e.getCause().getMessage().startsWith("Remote node has deployment mode different from"))
+ throw e;
}
}
@@ -145,8 +146,8 @@ public abstract class GridDiscoveryManagerAttributesSelfTest extends GridCommonA
fail();
}
catch (IgniteCheckedException e) {
- assertTrue(e.getCause().getMessage().startsWith("Remote node has peer class loading enabled flag " +
- "different from"));
+ if (!e.getCause().getMessage().startsWith("Remote node has peer class loading enabled flag different from"))
+ throw e;
}
}