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/12/17 10:41:55 UTC
[05/24] ignite git commit: ignite-1.5 More info in test assert.
ignite-1.5 More info in test assert.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/a586b49a
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/a586b49a
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/a586b49a
Branch: refs/heads/ignite-1.5.1
Commit: a586b49aec8671b4485886ed0ccbe0e011fe4a3e
Parents: ab8ba97
Author: sboikov <sb...@gridgain.com>
Authored: Wed Dec 16 09:04:40 2015 +0300
Committer: sboikov <sb...@gridgain.com>
Committed: Wed Dec 16 09:04:40 2015 +0300
----------------------------------------------------------------------
.../processors/service/GridServiceProcessorProxySelfTest.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/a586b49a/modules/core/src/test/java/org/apache/ignite/internal/processors/service/GridServiceProcessorProxySelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/service/GridServiceProcessorProxySelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/service/GridServiceProcessorProxySelfTest.java
index f69176c..6fc7e02 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/service/GridServiceProcessorProxySelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/service/GridServiceProcessorProxySelfTest.java
@@ -29,7 +29,6 @@ import org.apache.ignite.services.ServiceContext;
* Service proxy test.
*/
public class GridServiceProcessorProxySelfTest extends GridServiceProcessorAbstractSelfTest {
-
/** {@inheritDoc} */
@Override protected int nodeCount() {
return 4;
@@ -216,7 +215,7 @@ public class GridServiceProcessorProxySelfTest extends GridServiceProcessorAbstr
MapService<Integer, String> svc = grid(i).services().serviceProxy(name, MapService.class, false);
// Make sure service is a local instance.
- assertTrue(svc instanceof Service);
+ assertTrue("Invalid service instance [srv=" + svc + ", node=" + i + ']', svc instanceof Service);
svc.put(i, Integer.toString(i));
}