[ 
https://issues.apache.org/jira/browse/KAFKA-8746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899073#comment-16899073
 ] 

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
 
 
   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.
 
----------------------------------------------------------------
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:
[email protected]


> 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 P. McCabe
>            Assignee: Colin P. 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
(v7.6.14#76016)

Reply via email to