This is an archive of the discontinued Mercurial Phabricator instance.

testing: do not stop waiting if timeout is 0 (issue6541)
ClosedPublic

Authored by ced on Jul 17 2021, 6:48 AM.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ced created this revision.Jul 17 2021, 6:48 AM
pulkit accepted this revision.Jul 18 2021, 5:33 AM
This revision is now accepted and ready to land.Jul 18 2021, 5:33 AM
This revision was automatically updated to reflect the committed changes.

Note: we should probably fallback to some default long timeout (like 30 secondes) instead of blocking for ever here.

ced added a comment.Jul 19 2021, 12:23 PM

Note: we should probably fallback to some default long timeout (like 30 secondes) instead of blocking for ever here.

I found the problem because I wanted to enable test on the Gentoo build but I can not know which timeout will work for all the various platforms and hardware.
So I set the timeout to 0 but this is run only on releases which should have all tests passed normally :-)
Also disabling the timeout will be requested explicitly by the user so he should expect blocking.