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 an environment variable to control test timeout #683

Merged
merged 2 commits into from
Aug 1, 2024

Conversation

jaxvanyang
Copy link
Contributor

The environment variable name is CARGO_DENY_TEST_TIMEOUT, it should be able to be parsed into u64, otherwise still use 30s as timeout by default.

cargo-deny failed to build for archriscv because of timeout, and I notice that the timeout has been changed before, so I think it may be useful to be able to control the timeout without updating the source code.

And I want to ask if we can increase the timeout? this PR still use the 30s by default. My primary goal is to make cargo-deny build for archriscv. But I'm not sure how long is the minimal time to make it pass. Build log is at archriscv.felixc.at/.status/log.htm?url=logs/cargo-deny/cargo-deny-0.15.1-1.log. Based on a simple comparison of the passed tests between my local machine and the log, 120s (upper bound) may be enough to make it pass.

The environment variable name is `CARGO_DENY_TEST_TIMEOUT`, it should be
able to be parsed into `u64`, otherwise still use 30s as timeout by
default.
@Jake-Shadle Jake-Shadle merged commit 090ed52 into EmbarkStudios:main Aug 1, 2024
11 checks passed
@jaxvanyang jaxvanyang deleted the jax/feat/timeout branch August 1, 2024 08:23
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