ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [1/2] incubator-ignite git commit: GG-10299
Date Mon, 01 Jun 2015 13:55:06 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-gg-10299 [created] 2b8163ba1


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-gg-10299
Commit: faf2bd076828a83521866f260858504c1afdca5c
Parents: 9a16d19
Author: avinogradov <avinogradov@gridgain.com>
Authored: Mon Jun 1 16:49:19 2015 +0300
Committer: avinogradov <avinogradov@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);


Mime
View raw message