ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkuliche...@apache.org
Subject [47/50] [abbrv] incubator-ignite git commit: # ignite-nio - Test fix
Date Sun, 15 Feb 2015 08:42:29 GMT
# ignite-nio - Test fix


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

Branch: refs/heads/sprint-1
Commit: b46cea826650fe83072dea431d4fe2a234778c27
Parents: 37e76c4
Author: Valentin Kulichenko <vkulichenko@gridgain.com>
Authored: Sun Feb 15 00:18:14 2015 -0800
Committer: Valentin Kulichenko <vkulichenko@gridgain.com>
Committed: Sun Feb 15 00:18:14 2015 -0800

----------------------------------------------------------------------
 .../communication/GridCommunicationSendMessageSelfTest.java   | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/b46cea82/modules/core/src/test/java/org/apache/ignite/internal/managers/communication/GridCommunicationSendMessageSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/managers/communication/GridCommunicationSendMessageSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/managers/communication/GridCommunicationSendMessageSelfTest.java
index 4df98f2..d37c67c 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/managers/communication/GridCommunicationSendMessageSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/managers/communication/GridCommunicationSendMessageSelfTest.java
@@ -145,10 +145,9 @@ public class GridCommunicationSendMessageSelfTest extends GridCommonAbstractTest
     private static class TestMessage extends MessageAdapter {
         /** {@inheritDoc} */
         @Override public boolean writeTo(ByteBuffer buf, MessageWriter writer) {
-//            writer.setBuffer(buf);
-//
-//            return writer.writeByte(null, directType());
-            return true;
+            writer.setBuffer(buf);
+
+            return writer.writeByte(null, directType());
         }
 
         /** {@inheritDoc} */


Mime
View raw message