ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [35/46] incubator-ignite git commit: # Fix failed Hadoop tests.
Date Thu, 23 Apr 2015 16:02:23 GMT
# Fix failed Hadoop tests.


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

Branch: refs/heads/ignite-286
Commit: 734feb0b4d9b3c126b68c96b8d11051ba07e82cf
Parents: 0ee2799
Author: sevdokimov <sevdokimov@gridgain.com>
Authored: Thu Apr 23 12:13:58 2015 +0300
Committer: sevdokimov <sevdokimov@gridgain.com>
Committed: Thu Apr 23 12:13:58 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/734feb0b/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
b/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
index d5c0d44..f3a9051 100644
--- a/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
@@ -985,7 +985,7 @@ public abstract class GridAbstractTest extends TestCase {
 
         cfg.setNodeId(null);
 
-        if (gridName.matches(".*\\d")) {
+        if (gridName != null && gridName.matches(".*\\d")) {
             String idStr = UUID.randomUUID().toString();
 
             char[] chars = idStr.toCharArray();


Mime
View raw message