[ https://issues.apache.org/jira/browse/KAFKA-8746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16975463#comment-16975463 ]
ASF GitHub Bot commented on KAFKA-8746: --------------------------------------- cmccabe commented on pull request #7155: KAFKA-8746: Kibosh must handle an empty JSON string from Trogdor URL: https://github.com/apache/kafka/pull/7155 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Kibosh must handle an empty JSON string from Trogdor > ---------------------------------------------------- > > Key: KAFKA-8746 > URL: https://issues.apache.org/jira/browse/KAFKA-8746 > Project: Kafka > Issue Type: Bug > Reporter: Colin McCabe > Assignee: Colin McCabe > Priority: Minor > > {code:java} > When Trogdor wants to clear all the faults injected to Kibosh, it sends the > empty JSON object {}. However, Kibosh expects {"faults":[]} instead. > Kibosh should handle the empty JSON object, since that's consistent with how > Trogdor handles empty JSON fields in general (if they're empty, they can be > omitted). We should also have a test for this. > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)