-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Fixed errcheck issues in server/channels/app/channel_test.go #29233
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
Conversation
|
@edlerd: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsI understand the commands that are listed here |
hanzei
left a comment
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.
Thanks for the PR!
Could you please take a look at the linter issues?
Error: channels/app/channel_test.go:1838:2: calling require.Nil on error, please use require.NoError instead
Error: channels/app/channel_test.go:2229:5: calling require.Nil on error, please use require.NoError instead
Error: channels/app/channel_test.go:2259:5: calling require.Nil on error, please use require.NoError instead
Error: channels/app/channel_test.go:2261:5: calling require.Nil on error, please use require.NoError instead
Error: channels/app/channel_test.go:2268:5: calling require.Nil on error, please use require.NoError instead
Error: channels/app/channel_test.go:2270:5: calling require.Nil on error, please use require.NoError instead
Thanks!
|
/release-note-none |
28c4a6a to
ff5816a
Compare
|
Updated those issue and ensured |
ff5816a to
c3837df
Compare
|
Suspect the reuse of the err object in the anonymous deferred functions caused the panic in CI. Giving them a dedicated name and new object to avoid this. |
c3837df to
9e24d2a
Compare
|
Finally this should be resolved and pass CI 🤞 at least locally I could reproduce, and it is passing now. |
045f578 to
7eb1fee
Compare
|
Ensured all test cases and make vet passes locally. |
7eb1fee to
874be14
Compare
…st#28784 Signed-off-by: David Edler <david.edler@canonical.com>
874be14 to
9c75b27
Compare
hanzei
left a comment
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.
Amazing work @edlerd 🎉
Signed-off-by: David Edler <david.edler@canonical.com>
Signed-off-by: David Edler <david.edler@canonical.com>
|
This is ready for another review. |
|
@hanzei everything passes except enterprise tests, which I can't access. is it even related to the changes in here? Maybe this can merge as is? |
|
@hanzei everything passing, can this be merged? |
hanzei
left a comment
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.
LGTM, great work 🎉
isacikgoz
left a comment
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.
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
Summary
Fixed errcheck issues in server/channels/app/channel_test.go
Ticket Link
Fixes #28784