chovy-3012 commented on a change in pull request #6994: URL: https://github.com/apache/incubator-doris/pull/6994#discussion_r741003996
########## File path: extension/spark-doris-connector/src/test/java/org/apache/doris/spark/rest/TestRestService.java ########## @@ -293,4 +294,23 @@ public void testTabletsMapToPartition() throws Exception { Assert.assertEquals(expected, actual); } + + @Test + public void testParseBackend() throws Exception { + String response = "{\"href_columns\":[\"BackendId\"],\"parent_url\":\"/rest/v1/system?path=/\"," + Review comment: Add a `parseBackend` method unit test -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org