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

Add Infinity constant to enable windows tests with old busybox #3631

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

apostasie
Copy link
Contributor

@apostasie apostasie commented Nov 1, 2024

Despite having recently updated busybox to a more recent version that does support sleep inf (#3617), it seems like the windows version of it that we depend on still does not.

(if you do have a windows rig available and can investigate what is going on here that would be lovely)

Making more tests available for windows would thus require that we replace all calls to sleep inf or sleep infinity with sleep ARBITRARY_NUMBER.

This is not so good as it would be confusing if the duration is meaningful or not, and as different tests will likely start using different arbitrary numbers.

So this PR suggests we use a constant instead, Infinity, hiding the fact that we (for now) make this 3600.

@apostasie
Copy link
Contributor Author

Geez.
Git ate my commits 😭.
I want my money back!

@apostasie apostasie mentioned this pull request Nov 1, 2024
@apostasie apostasie marked this pull request as ready for review November 1, 2024 15:06
@AkihiroSuda
Copy link
Member

Geez. Git ate my commits 😭. I want my money back!

FYI git reflog might be useful to recover lost commits

@AkihiroSuda AkihiroSuda merged commit bfc8e0b into containerd:main Nov 4, 2024
26 checks passed
@AkihiroSuda AkihiroSuda added this to the v2.0.0 milestone Nov 4, 2024
@AkihiroSuda
Copy link
Member

Merged via #3624

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants