-
Notifications
You must be signed in to change notification settings - Fork 482
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
Push and kick fix ( Closes #51 ) #56
Conversation
Please fix the conflicts |
kick_test.go
Outdated
|
||
failedUids, err := SendKickToUsers([]string{table.uid1, table.uid2}, table.frontendType) | ||
assert.Nil(t, failedUids) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you split the test into two?
kick_test.go
Outdated
assert.NoError(t, err) | ||
assert.Nil(t, failedUids) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pleas add a test for the error case as well
I believe the solution is good and lets the applications check which user ids failed, we just need to fix some things and then we are ready to go. |
a7e72ec
to
4d78010
Compare
Pull Request Test Coverage Report for Build 511
💛 - Coveralls |
Good job, let's release this as v0.3.0 |
This pull request address to issue #51 with a possible solution.
It is a WIP because it still needs to be rebased with master and because it will break compatibility with projects that uses Pitaya, therefore, we need to version it before. Although, i've opened the PR so we can discuss if this solution is appropriate.