Dvorapa added a comment.

  In T244062#6018028 <https://phabricator.wikimedia.org/T244062#6018028>, @Xqt 
wrote:
  
  > In T244062#6017983 <https://phabricator.wikimedia.org/T244062#6017983>, 
@Dvorapa wrote:
  >
  >> Okay, what if tests are "unified global account are logged in 
automatically" in the beginning of tests (initiation of Meta Class?), then 
`login_logout` test will logout all of them successfully and finally they are 
logged out here? Perhaps we should try to reinitiate Meta Class after 
`login_logout` test?
  >
  > There is another issue: At Travis we run up to 5 jobs simultaneously. With 
each logout all current jobs are logged out and need to re-login. Parallel jobs 
saves test time but it can cause failures. Probably we should run login/logout 
tests on Appveyor only because the we have only 1 job running at the same time 
there.
  
  Good point. Another option (imo worse) would be to run Travis test the same 
as AppVeyor. And finally DefaultSiteTestCase could somehow check login status 
and relogin if it detects there is an issue.

TASK DETAIL
  https://phabricator.wikimedia.org/T244062

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt, Dvorapa
Cc: Legoktm, revi, Dvorapa, Aklapper, pywikibot-bugs-list, Xqt, Zkhalido, 
Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis, 
mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to