ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [28/39] incubator-ignite git commit: IGNITE-632 Fixed tests.
Date Wed, 08 Apr 2015 09:39:06 GMT
IGNITE-632 Fixed 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/cceceb67
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/cceceb67
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/cceceb67

Branch: refs/heads/ignite-692
Commit: cceceb674bc6f132fb0203db5458b669567dfa85
Parents: 65f3472
Author: nikolay_tikhonov <ntikhonov@gridgain.com>
Authored: Tue Apr 7 17:48:32 2015 +0300
Committer: nikolay_tikhonov <ntikhonov@gridgain.com>
Committed: Tue Apr 7 17:48:32 2015 +0300

----------------------------------------------------------------------
 .../communication/tcp/GridTcpCommunicationSpiAbstractTest.java  | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/cceceb67/modules/core/src/test/java/org/apache/ignite/spi/communication/tcp/GridTcpCommunicationSpiAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/spi/communication/tcp/GridTcpCommunicationSpiAbstractTest.java
b/modules/core/src/test/java/org/apache/ignite/spi/communication/tcp/GridTcpCommunicationSpiAbstractTest.java
index 5c16bfd..ea51aff 100644
--- a/modules/core/src/test/java/org/apache/ignite/spi/communication/tcp/GridTcpCommunicationSpiAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/spi/communication/tcp/GridTcpCommunicationSpiAbstractTest.java
@@ -20,6 +20,7 @@ package org.apache.ignite.spi.communication.tcp;
 import org.apache.ignite.internal.util.nio.*;
 import org.apache.ignite.internal.util.typedef.*;
 import org.apache.ignite.internal.util.typedef.internal.*;
+import org.apache.ignite.spi.*;
 import org.apache.ignite.spi.communication.*;
 import org.apache.ignite.testframework.*;
 
@@ -79,8 +80,8 @@ abstract class GridTcpCommunicationSpiAbstractTest extends GridAbstractCommunica
             ConcurrentMap<UUID, GridTcpCommunicationClient> clients = U.field(spi,
"clients");
 
             for (int i = 0; i < 20 && !clients.isEmpty(); i++) {
-                info("Check failed for SPI [grid=" + GridTestUtils.getFieldValue(spi, "gridName")
+
-                    ", spi=" + spi + ']');
+                info("Check failed for SPI [grid=" +
+                    GridTestUtils.getFieldValue(spi, IgniteSpiAdapter.class, "gridName")
+ ", spi=" + spi + ']');
 
                 U.sleep(1000);
             }


Mime
View raw message