Page MenuHomePhabricator

page_tests.TestPageUserAction.test_watch sometimes hangs
Closed, ResolvedPublic

Description

page_tests.TestPageUserAction.test_watch sometimes hangs. Tests fails due to timeouts:

test_watch (tests.page_tests.TestPageUserAction)
Test Page.watch, with and without unwatch enabled. ...

https://ci.appveyor.com/project/pywikibot-core/pywikibot/build/job/yn2arjty3f9ivvd2

This behaviour is reproducable if using a wrong token.

Event Timeline

Xqt triaged this task as High priority.Feb 18 2024, 4:35 PM
Xqt updated the task description. (Show Details)

Change 1004618 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [IMPR] Raise APIError if the same error comes twice within submit loop

https://gerrit.wikimedia.org/r/1004618

Change 1004618 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] Raise APIError if the same error comes twice within submit loop

https://gerrit.wikimedia.org/r/1004618