Skip to content

[CI]: fix internal command flaky test (window) - #4114

Merged
AkihiroSuda merged 1 commit into
containerd:mainfrom
apostasie:fix-command-test
Apr 18, 2025
Merged

AkihiroSuda merged 1 commit into
containerd:mainfrom
apostasie:fix-command-test

Conversation

@apostasie

Copy link
Copy Markdown
Contributor

On windows, commands that time-out occasionally have exit code set to 1 instead of (expected) -1.

It is not clear why - intuition is that golang command cancellation on context timeout might not be fully deterministic.

Also, it does not matter, as on timeout there is no reason to check error code, so, this PR just relaxes the test.

@apostasie
apostasie marked this pull request as ready for review April 16, 2025 17:55
@apostasie

Copy link
Copy Markdown
Contributor Author

Kube failure is #4106 (working on it in another PR).

@AkihiroSuda AkihiroSuda left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

Merging, but this seems to need further investigations

@AkihiroSuda
AkihiroSuda merged commit 362252e into containerd:main Apr 18, 2025
@AkihiroSuda AkihiroSuda added area/ci e.g., CI failure platform/Windows/Non-WSL2 Microsoft Windows (non-WSL2) labels Apr 18, 2025
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 platform/Windows/Non-WSL2 Microsoft Windows (non-WSL2)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants