{"action":"opened","issue":{"url":"https://api.github.com/repos/Shopify/sarama/issues/886","repository_url":"https://api.github.com/repos/Shopify/sarama","labels_url":"https://api.github.com/repos/Shopify/sarama/issues/886/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/sarama/issues/886/comments","events_url":"https://api.github.com/repos/Shopify/sarama/issues/886/events","html_url":"https://github.com/Shopify/sarama/issues/886","id":231897352,"number":886,"title":"Testing PartitionConsumer.Close() errors","user":{"login":"kchristidis","id":14876848,"avatar_url":"https://avatars0.githubusercontent.com/u/14876848?v=3","gravatar_id":"","url":"https://api.github.com/users/kchristidis","html_url":"https://github.com/kchristidis","followers_url":"https://api.github.com/users/kchristidis/followers","following_url":"https://api.github.com/users/kchristidis/following{/other_user}","gists_url":"https://api.github.com/users/kchristidis/gists{/gist_id}","starred_url":"https://api.github.com/users/kchristidis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kchristidis/subscriptions","organizations_url":"https://api.github.com/users/kchristidis/orgs","repos_url":"https://api.github.com/users/kchristidis/repos","events_url":"https://api.github.com/users/kchristidis/events{/privacy}","received_events_url":"https://api.github.com/users/kchristidis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-28T21:54:51Z","updated_at":"2017-05-28T21:54:51Z","closed_at":null,"body":"I am trying to write a unit test for the case when calling `Close` on the `PartitionConsumer` returns an error: https://github.com/Shopify/sarama/blob/master/consumer.go#L410...L428\r\n\r\nWhat would be the easiest/most straightforward way of forcing such an error?"}}
{"actor":{"display_login":"kchristidis"}}