( )⚙ D11258 heptapod-ci: extend timeout for pytype checking

This is an archive of the discontinued Mercurial Phabricator instance.

heptapod-ci: extend timeout for pytype checking
ClosedPublic

Authored by Alphare on Aug 5 2021, 12:38 PM.

Details

Summary

This test routinely times out for loaded or older machines.

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

Alphare created this revision.Aug 5 2021, 12:38 PM
marmoute requested changes to this revision.Aug 5 2021, 1:11 PM
marmoute added a subscriber: marmoute.

I don't know what you are trying to do, --slowtimeout takes an argument and is probably not the flag you are looking for. Your best bet et probably to extend the timeout through the variable defined at the project level.

This revision now requires changes to proceed.Aug 5 2021, 1:11 PM
Alphare updated this revision to Diff 29822.Aug 6 2021, 3:27 AM

I appear to have misunderstood the help text. I want to extend the timeout of the individual test, not the CI's. I've updated the patch with what I'm assuming works?

marmoute requested changes to this revision.Aug 6 2021, 5:38 AM

I appear to have misunderstood the help text. I want to extend the timeout of the individual test, not the CI's. I've updated the patch with what I'm assuming works?

the CI is already adding an using an environment variable to extend the timeout. By using an explicit value here, you are bypassing this mechanism and might end up -lowering- the timeout in practice.

This revision now requires changes to proceed.Aug 6 2021, 5:38 AM
Alphare updated this revision to Diff 29823.Aug 6 2021, 5:47 AM
marmoute accepted this revision.Aug 6 2021, 5:50 AM

This isn't great, but this will do for now.

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.