-
Notifications
You must be signed in to change notification settings - Fork 1.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
client/windows integration tests: plumbing work for running on windows #4432
Conversation
63a40d1
to
95b60bf
Compare
vendor/github.com/containerd/containerd/pkg/dialer/dialer_windows.go
Outdated
Show resolved
Hide resolved
c56c6d4
to
e0946b6
Compare
@profnandaa Some linter errors in CI. |
2ec9a5f
to
12327fe
Compare
Co-authored-by: Gabriel Samfira <[email protected]> This PR does most of the plumbing work requred for us to start running integration tests on Windows. We will need this to land before we can do the follow-up PRs to handle the specific tests. Signed-off-by: Anthony Nandaa <[email protected]>
12327fe
to
414edfa
Compare
@tonistiigi -- fixed. was a build directive mismatch on one file |
"testing" | ||
) | ||
|
||
func checkRequirement(t *testing.T) { |
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.
Not for this PR but looks like this function is not named correctly.
The idea is to skip all tests for now, since they were originally meant for Linux. Then we will comb through each, enabling them for Windows and making necessary changes. This will make sure that all tests are fully considrered for Windows, and some do not just pass as false positives. Depends on: moby#4432 Co-authored-by: Gabriel Samfira <[email protected]> Signed-off-by: Anthony Nandaa <[email protected]>
4cdae01
to
64c5718
Compare
5396720
to
c930371
Compare
Fixed, ready for review. |
8600d9a
to
630b062
Compare
630b062
to
dd34e58
Compare
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.
Sorry to be this late to the party, I've been travelling.
Just a couple of really small changes, but overall looks good. This will allow us to hook up the integration tests in the CI in subsequent PRs and start enabling tests.
NOTE: all these follow-up commits will be squashed after the review is done. What changed in this commit: - refactor the code to make the dial retry logic be the same across platforms. - a number of code duplication fixes and refactors Signed-off-by: Anthony Nandaa <[email protected]>
dd34e58
to
68afa16
Compare
@gabriel-samfira -- thanks for the review, fixed all the issues raised, ptal. |
Thanks for the merge! Will proceed to the next one towards having the integration tests CI enabled on Windows. |
This PR does most of the plumbing work required for us to start running integration tests on Windows. We will need this to land before we can do the follow-up PRs to handle the specific tests.
/cc. @gabriel-samfira