Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1288115?usp=email )

Change subject: tests: Increase maxlag parameter for GutHub doctest
......................................................................

tests: Increase maxlag parameter for GutHub doctest

doctests aren't able to use a wait cycle or to skip the test
when the test fails with MaxlagTimeoutError. Therefore use a
higher maxlag here.

Bug: T422266
Change-Id: I1b0d288e2ce2b1e8f6747bdc745c529802d2b3b9
---
M .github/workflows/doctest.yml
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  jenkins-bot: Verified
  Xqt: Verified; Looks good to me, approved




diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml
index 74cfab2..4e48263 100644
--- a/.github/workflows/doctest.yml
+++ b/.github/workflows/doctest.yml
@@ -82,6 +82,7 @@
       - name: Generate user files
         run: |
           python -Werror::UserWarning -m pwb generate_user_files 
-site:wikipedia:test -user:${{ env.PYWIKIBOT_USERNAME }} -v -debug;
+          echo "maxlag = 20" >> user-config.py
       - name: doctest with pytest
         id: ci_test
         continue-on-error: true

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1288115?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: I1b0d288e2ce2b1e8f6747bdc745c529802d2b3b9
Gerrit-Change-Number: 1288115
Gerrit-PatchSet: 2
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]

Reply via email to