ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject ignite git commit: IGNITE-5095 NULL strings in REST-HTTP should be serialized as null.
Date Thu, 27 Apr 2017 06:17:56 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-5095 57a423d6c -> c2795bc43


IGNITE-5095 NULL strings in REST-HTTP should be serialized as null.


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

Branch: refs/heads/ignite-5095
Commit: c2795bc43b3d042cd472bb6081bcc664a6ab06bf
Parents: 57a423d
Author: Alexey Kuznetsov <akuznetsov@apache.org>
Authored: Thu Apr 27 13:19:03 2017 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Thu Apr 27 13:19:03 2017 +0700

----------------------------------------------------------------------
 .../ignite/internal/client/ClientDefaultCacheSelfTest.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/c2795bc4/modules/clients/src/test/java/org/apache/ignite/internal/client/ClientDefaultCacheSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/clients/src/test/java/org/apache/ignite/internal/client/ClientDefaultCacheSelfTest.java
b/modules/clients/src/test/java/org/apache/ignite/internal/client/ClientDefaultCacheSelfTest.java
index 25fa2e9..2fe6084 100644
--- a/modules/clients/src/test/java/org/apache/ignite/internal/client/ClientDefaultCacheSelfTest.java
+++ b/modules/clients/src/test/java/org/apache/ignite/internal/client/ClientDefaultCacheSelfTest.java
@@ -176,8 +176,8 @@ public class ClientDefaultCacheSelfTest extends GridCommonAbstractTest
{
 
         assertFalse(node.get("affinityNodeId").asText().isEmpty());
         assertEquals(0, node.get("successStatus").asInt());
-        assertTrue(node.get("error").asText().isEmpty());
-        assertTrue(node.get("sessionToken").asText().isEmpty());
+        assertTrue(node.get("error").isNull());
+        assertTrue(node.get("sessionToken").isNull());
 
         return node.get("response");
     }


Mime
View raw message