-
Notifications
You must be signed in to change notification settings - Fork 639
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
Part 6: enable windows unit test #3546
Conversation
2f6e503
to
e92e453
Compare
@@ -39,6 +42,17 @@ jobs: | |||
go-version: ${{ env.GO_VERSION }} | |||
check-latest: true | |||
cache: true | |||
- if: ${{ matrix.goos=='windows' }} |
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.
Some tests depend on CNI being installed.
@@ -38,7 +38,7 @@ func TestParseVolumeOptions(t *testing.T) { | |||
vType: "bind", | |||
src: "dummy", | |||
optsRaw: "rw", | |||
wants: []string{}, |
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.
Either the code or the test should be changed.
I am opting for changing the test.
4d4e613
to
0c6b778
Compare
Re-run failures are: TestLogsWithInheritedFlags for Docker - already spotted as flaky with Docker before - is the test broken or is docker broken? |
Signed-off-by: apostasie <[email protected]>
Signed-off-by: apostasie <[email protected]>
Signed-off-by: apostasie <[email protected]>
Signed-off-by: apostasie <[email protected]>
Signed-off-by: apostasie <[email protected]>
Signed-off-by: apostasie <[email protected]>
Signed-off-by: apostasie <[email protected]>
Signed-off-by: apostasie <[email protected]>
Signed-off-by: apostasie <[email protected]>
Signed-off-by: apostasie <[email protected]>
Failure is fixed with #3563 |
Geez. Closing was not what I meant. |
First commit is marking a few tests as flaky.
Second commit enables unit testing for windows.
Depends on:
Changes to make the tests pass (besides above PRs):
See inline comments.
Leaving as draft until the dependencies are merged.