-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Option to treat timeouts as non-failure #1291
Comments
Hi, and thanks for the feature request! This isn't something that's supported at the moment -- timeouts with nextest are meant to be for unexpected issues. Would you be able to add a timeout within your test logic instead? If it's useful, I'm open to adding a |
Hmm, I see, you're actually using miri. I guess we can add an on-timeout = "success"/"failure" config, and then you can set that in the Miri-specific config. I guess it'll also be useful for tests that are meant to be run for a while and then cancelled (I've come across a few such tests over the years) |
tldr; An Yes, I am using I ran those miri tests locally on 12 cores via |
Yeah, makes sense! |
I am currently using
nextest
viamiri
in Wasmi to run the entire Wasm spec testsuite (which is huge) nightly. Sincemiri
execution with all of its checks is rather slow and since we use default GitHub action runners most tests timeout. Locally I ran the entire testsuite viamiri
with a timeout of 4h per test case and even then I had some timeouts, so that's how bad it really is. However, this is not as bad as it sounds since even timed out tests produced a ton of checks and validated their input until their timeout.So what would be nice is to make it possible via config to treat timed out tests as non-failures since I only really want to be notified by this CRON
miri
run if it actually found an actual bug.Is this maybe even already possible? In case you do not want to implement this feature what would be the best way to handling this on my side?
Link to the cron job if that is of interest: https://github.com/paritytech/wasmi/actions/runs/7771389011/job/21192633974
Thanks!
The text was updated successfully, but these errors were encountered: