[ 
https://issues.apache.org/jira/browse/KAFKA-8746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Colin P. McCabe updated KAFKA-8746:
-----------------------------------
    Description: 
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.

  was:
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.


> 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
>
> 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 message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to