Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
`tests.utils.execute()` currently catches `subprocess.TimeoutExpired`, kills
the subprocess, collects its output, and returns the result without indicating
that a timeout occurred.
As a result, tests may fail later with misleading assertions such as:
AssertionError: 'Script terminated successfully' not found in ...
or even with empty output, making it difficult to distinguish a genuine
script failure from a timeout.
The timeout should be reported explicitly. The test may be scriped in such
case.
TASK DETAIL
https://phabricator.wikimedia.org/T433834
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]