Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Satisfy the error interface in create responses #1154

Merged
merged 2 commits into from
Feb 25, 2019
Merged

Satisfy the error interface in create responses #1154

merged 2 commits into from
Feb 25, 2019

Conversation

dnwe
Copy link
Collaborator

@dnwe dnwe commented Aug 22, 2018

Contributes-to: #1153

Signed-off-by: Dominic Evans dominic.evans@uk.ibm.com

@varun06
Copy link
Contributor

varun06 commented Jan 7, 2019

Hey @dnwe, can you please add some tests and we can merge it then?

@dnwe
Copy link
Collaborator Author

dnwe commented Feb 8, 2019

@varun06 thanks, rebased and re-pushed with some tests added

Contributes-to: #1153

Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
I'm not sure what the purpose of
`TestClusterAdminCreateTopicWithDiffVersion` originally was, but rather
than testing desired behaviour, it seemed to be asserting that a
previous deficiency in the mockbroker responses would return an
ErrInsufficientData because a V1 request got a V0 response from the
mockbroker. Since ec2cbc3 the mockbroker responses with a matching
response version to the original request, so this test would no longer
pass its assertions and should be removed.
@dnwe
Copy link
Collaborator Author

dnwe commented Feb 12, 2019

@varun06 travis build fixed after removing the test that is no longer valid

@varun06
Copy link
Contributor

varun06 commented Feb 12, 2019

Thanks, I will have a look today.

Copy link
Contributor

@varun06 varun06 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sam-obeid can you please have a look too.

@bai bai requested a review from sam-obeid February 25, 2019 17:52
@bai
Copy link
Contributor

bai commented Feb 25, 2019

Thanks!

@bai bai merged commit 0cfd4e6 into IBM:master Feb 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants