ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [29/50] ignite git commit: Fixed NPE in GridCacheAbstractFullApiSelfTest in multi jvm tests.
Date Wed, 14 Sep 2016 11:10:45 GMT
Fixed NPE in GridCacheAbstractFullApiSelfTest in multi jvm tests.


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

Branch: refs/heads/ignite-3661
Commit: 121b89b07990068a31d384da8d6f3c781cf0efb8
Parents: b5121ad
Author: sboikov <sboikov@gridgain.com>
Authored: Wed Sep 7 14:36:51 2016 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Wed Sep 7 14:36:51 2016 +0300

----------------------------------------------------------------------
 .../processors/cache/GridCacheAbstractFullApiSelfTest.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/121b89b0/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java
index 3f4d812..a31c82e 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java
@@ -296,7 +296,7 @@ public abstract class GridCacheAbstractFullApiSelfTest extends GridCacheAbstract
         for (int i = 0; i < gridCount(); i++) {
             Boolean clientMode = grid(i).configuration().isClientMode();
 
-            if (clientMode)
+            if (clientMode != null && clientMode) // Can be null in multi jvm tests.
                 continue;
 
             grid(0).services(grid(0).cluster()).deployNodeSingleton(SERVICE_NAME1, new DummyServiceImpl());


Mime
View raw message