diff --git a/rpc-client-test/src/main/java/com/antgroup/tugraph/TuGraphDbHaRpcClientTestCase.java b/rpc-client-test/src/main/java/com/antgroup/tugraph/TuGraphDbHaRpcClientTestCase.java index 5175606..8bef0ad 100644 --- a/rpc-client-test/src/main/java/com/antgroup/tugraph/TuGraphDbHaRpcClientTestCase.java +++ b/rpc-client-test/src/main/java/com/antgroup/tugraph/TuGraphDbHaRpcClientTestCase.java @@ -256,7 +256,7 @@ public static void haClientTest() throws Exception { log.info(getRestPortByKey("MASTER", client)); - String res1 = client.callCypher("MATCH (n) RETURN count(n)", "default", 10); + String res1 = client.callCypher("MATCH (n) RETURN COUNT(n)", "default", 10); JSONArray jsonArray = JSONArray.parseArray(res1); assert (jsonArray.size() == 1); JSONObject jsonObject = jsonArray.getJSONObject(0);