Skip to content
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

Closed
wants to merge 10 commits into from
Closed

Conversation

apostasie
Copy link
Contributor

@apostasie apostasie commented Oct 15, 2024

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.

@AkihiroSuda AkihiroSuda added the area/ci e.g., CI failure label Oct 15, 2024
@apostasie apostasie force-pushed the part6 branch 7 times, most recently from 2f6e503 to e92e453 Compare October 16, 2024 02:51
@apostasie apostasie changed the title [WIP] Test rework, part 6 Enable windows unit test Oct 16, 2024
@@ -39,6 +42,17 @@ jobs:
go-version: ${{ env.GO_VERSION }}
check-latest: true
cache: true
- if: ${{ matrix.goos=='windows' }}
Copy link
Contributor Author

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{},
Copy link
Contributor Author

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.

@apostasie apostasie marked this pull request as ready for review October 16, 2024 03:04
@apostasie apostasie marked this pull request as draft October 16, 2024 03:06
@apostasie apostasie force-pushed the part6 branch 2 times, most recently from 4d4e613 to 0c6b778 Compare October 16, 2024 03:15
@apostasie apostasie changed the title Enable windows unit test Part 6: enable windows unit test Oct 16, 2024
@apostasie
Copy link
Contributor Author

Re-run failures are:

TestLogsWithInheritedFlags for Docker - already spotted as flaky with Docker before - is the test broken or is docker broken?
TestAttach: despite a lot of efforts to tweak delays, this keeps failing again
Note that these are failing in-spite of the retries ^

@apostasie
Copy link
Contributor Author

Failure is fixed with #3563

@apostasie apostasie closed this Oct 17, 2024
@apostasie apostasie deleted the part6 branch October 17, 2024 21:34
@apostasie
Copy link
Contributor Author

Geez.

Closing was not what I meant.
Will reopen a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci e.g., CI failure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants