Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1268064?usp=email )
Change subject: tests: Increase maxlag parameter for doctest
......................................................................
tests: Increase maxlag parameter for doctest
doctests aren't able to skip the test when the test fails with
MaxlagTimeoutError. Therefore use a higher maxlag here. Otherwise
CI tests will fail and no patches are able to be committed.
Bug: T422266
Change-Id: Ia66c2f25c089d0e45f6d8198a6c60a555cf5ba13
---
M tox.ini
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Xqt: Verified; Looks good to me, approved
diff --git a/tox.ini b/tox.ini
index 503ea9b..9303a56 100644
--- a/tox.ini
+++ b/tox.ini
@@ -93,9 +93,11 @@
tox -e doctest-py314
[testenv:doctest-py39]
+allowlist_externals = echo
basepython = python3.9
commands =
python {[params]generate_user_files}
+ echo "maxlag = 90" >> user-config.py
python -m pytest pywikibot --doctest-modules {[params]DOCTEST_IGNORES}
deps = {[doctest]deps}
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1268064?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ia66c2f25c089d0e45f6d8198a6c60a555cf5ba13
Gerrit-Change-Number: 1268064
Gerrit-PatchSet: 8
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]