ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject [28/52] [abbrv] incubator-ignite git commit: # IGNITE-61 - Fixing client
Date Tue, 10 Feb 2015 06:25:28 GMT
# IGNITE-61 - Fixing client


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

Branch: refs/heads/ignite-51
Commit: 44ab171e1ed9d86161b4757e6ca7fba090bfaa29
Parents: b9cb157
Author: Valentin Kulichenko <vkulichenko@gridgain.com>
Authored: Mon Feb 9 00:35:19 2015 -0800
Committer: Valentin Kulichenko <vkulichenko@gridgain.com>
Committed: Mon Feb 9 00:35:19 2015 -0800

----------------------------------------------------------------------
 .../apache/ignite/internal/processors/rest/TestBinaryClient.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/44ab171e/modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/TestBinaryClient.java
----------------------------------------------------------------------
diff --git a/modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/TestBinaryClient.java
b/modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/TestBinaryClient.java
index 21e5f8c..fd7cbd7 100644
--- a/modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/TestBinaryClient.java
+++ b/modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/TestBinaryClient.java
@@ -21,6 +21,7 @@ import org.apache.ignite.*;
 import org.apache.ignite.client.marshaller.*;
 import org.apache.ignite.client.marshaller.optimized.*;
 import org.apache.ignite.internal.processors.rest.client.message.*;
+import org.apache.ignite.internal.processors.rest.protocols.tcp.*;
 import org.apache.ignite.internal.util.*;
 import org.apache.ignite.internal.util.typedef.*;
 import org.apache.ignite.internal.util.typedef.internal.*;
@@ -88,7 +89,7 @@ final class TestBinaryClient {
             req.marshallerId(GridClientOptimizedMarshaller.ID);
 
             // Write handshake.
-            sock.getOutputStream().write(GridClientHandshakeRequestWrapper.HANDSHAKE_HEADER);
+            sock.getOutputStream().write(GridMemcachedMessage.IGNITE_HANDSHAKE_FLAG);
             sock.getOutputStream().write(req.rawBytes());
 
             byte[] buf = new byte[1];


Mime
View raw message