-
Notifications
You must be signed in to change notification settings - Fork 120
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
Fix timeout not being enforced by sync_until #4591
Comments
It's not possible to enforce timeouts using I've edited the ticket description to use We could also use |
Thanks! |
This test bug does not block any of our release work. |
This isn't actually causing us any problems at the moment |
Motivation
The
sync_until
function, which is used by e.g.sync_one_checkpoint_testnet
, does not enforce timeouts.This makes hangs in the underlying issue harder to diagnose, since CI will only fail after the 6 hour timeout.
Make it always enforce the timeout.
Specifications
Designs
This is caused by
wait_with_output
being called when mempool activation is not required, and that function does not enforce timeouts (as documented).Stop using
wait_with_output
:sync_until
to check the mempool didn't activate usingwith_failure_regex_iter()
wait_with_output
fromsync_until
, most of the checks are the same, only the mempool checks are differentRelated Work
The text was updated successfully, but these errors were encountered: