ArnavBalyan commented on code in PR #11608: URL: https://github.com/apache/pinot/pull/11608#discussion_r1346824650
########## pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/BaseClusterIntegrationTestSet.java: ########## @@ -645,9 +645,11 @@ public String reloadTableAndValidateResponse(String tableName, TableType tableTy throws IOException { String response = sendPostRequest(_controllerRequestURLBuilder.forTableReload(tableName, tableType, forceDownload), null); + response = StringEscapeUtils.unescapeJava(response); String tableNameWithType = TableNameBuilder.forType(tableType).tableNameWithType(tableName); JsonNode tableLevelDetails = - JsonUtils.stringToJsonNode(StringEscapeUtils.unescapeJava(response.split(": ")[1])).get(tableNameWithType); + JsonUtils.stringToJsonNode(response.substring( Review Comment: Hi @Jackie-Jiang the the value corresponding to the "status" is another json string. So parsing it into json fails because the value is wrapped in "". I just did the substring logic to get the wrapped string. Thanks! -- 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...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org