Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-389 980bf759e -> 71f29e98e


GG-10299


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

Branch: refs/heads/ignite-389
Commit: faf2bd076828a83521866f260858504c1afdca5c
Parents: 9a16d19
Author: avinogradov <avinogra...@gridgain.com>
Authored: Mon Jun 1 16:49:19 2015 +0300
Committer: avinogradov <avinogra...@gridgain.com>
Committed: Mon Jun 1 16:49:19 2015 +0300

----------------------------------------------------------------------
 .../test/java/org/apache/ignite/testframework/GridTestUtils.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/faf2bd07/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java 
b/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java
index e25aaee..ec19882 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java
@@ -137,7 +137,7 @@ public final class GridTestUtils {
                 }
             }
 
-            if (msg != null && (e.getMessage() == null || 
!e.getMessage().startsWith(msg))) {
+            if (msg != null && (e.getMessage() == null || 
!e.getMessage().contains(msg))) {
                 U.error(log, "Unexpected exception message.", e);
 
                 fail("Exception message is not as expected [expected=" + msg + 
", actual=" + e.getMessage() + ']', e);

Reply via email to