-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Bump moby/moby vendoring and fix tests #1504
Bump moby/moby vendoring and fix tests #1504
Conversation
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, LGTM if green
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.
?? vendor/github.com/docker/docker/contrib/
?? vendor/golang.org/x/crypto/otr/
?? vendor/golang.org/x/crypto/ssh/test/
?? vendor/golang.org/x/sys/cpu/
?? vendor/golang.org/x/sys/windows/svc/
?? vendor/k8s.io/kubernetes/build/
validation of the vendor fails, otherwise 👍
Signed-off-by: Simon Ferquel <[email protected]>
A recent change in moby/moby made tests with missing client mocks fail with panic. This adds those missing mocks for the impacted tests. Signed-off-by: Simon Ferquel <[email protected]>
3a00f19
to
8efa6a9
Compare
Codecov Report
@@ Coverage Diff @@
## master #1504 +/- ##
=======================================
Coverage 55.14% 55.14%
=======================================
Files 289 289
Lines 19371 19371
=======================================
Hits 10683 10683
+ Misses 7997 7996 -1
- Partials 691 692 +1 |
@vdemeester It was a mismatch of vndr version between my dev env and the CLI dev image. Fixed! |
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 🐯
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
A recent change in moby/moby (moby/moby@3e5b9cb#diff-ac3eb5494dc3178ea5947441c086942b) made tests with missing client function mocks fail with a panic (underlying http client is nil within unit tests). This PR bumps Moby/moby and fix the impacted tests by adding missing mock functions.
- What I did
- How I did it
- How to verify it
Run unit tests