[Pywikipedia-bugs] [Maniphest] [Updated] T151369: test_search_where is failing on Travis

2017-01-05 Thread Dalba
Dalba removed a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T151369EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Magul, DalbaCc: Lokal_Profil, Xqt, jayvdb, Dalba, gerritbot, pywikibot-bugs-list, Aklapper, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Masti, Alchimista, Rxy___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T151369: test_search_where is failing on Travis

2017-01-05 Thread Dalba
Dalba added a subtask: T154663: Some of the search result sometimes don't show up.
TASK DETAILhttps://phabricator.wikimedia.org/T151369EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Magul, DalbaCc: Lokal_Profil, Xqt, jayvdb, Dalba, gerritbot, pywikibot-bugs-list, Aklapper, Magul, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, Masti, Alchimista, Rxy___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T151369: test_search_where is failing on Travis

2016-12-18 Thread Dalba
Dalba added a comment.
By the way, this task is a duplicate of T129732: test_search_where fails due to differing results.TASK DETAILhttps://phabricator.wikimedia.org/T151369EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Magul, DalbaCc: Dalba, gerritbot, pywikibot-bugs-list, Aklapper, Magul, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, jayvdb, Masti, Alchimista, Rxy___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T151369: test_search_where is failing on Travis

2016-12-17 Thread Magul
Magul added a comment.
I've tested 707 sites (all production sites: commons, wikidata, wikipedia, wikivoyage, wiktionary, wikibooks, wikinews, wikiquote, wikisource, wikiversity). The whole test takes around 25 minuts.

I'm pasting here 10 sites which lasts longest (in this 10 sites are all 7 sites that have 1 or more occurences of wiki), rest is available here: P4646


sitetimedeltacounter
wikipedia:eu0:00:10.5268236890
wikivoyage:de0:00:12.3501526147
wikipedia:en0:00:12.7104301
wikipedia:it0:00:12.7844697594
wikipedia:de0:00:13.5131481
wikipedia:ru0:00:14.0937581
wikidata:wikidata0:00:14.9289151
wikipedia:pt0:00:16.2060931
wikipedia:hu0:00:21.2641091
wikipedia:ml0:00:24.3674431


If You want to rerun test here's a script to do such: P4645 (beside pywikibot and stdlib it uses tqdm, which is a package for progress bar and You can simply remove it from script or install it from pip).

Assuming that we in fact will exlude places, where wiki search hits 1 occurences, we could estimate that typical run of this test will take no more than 25 seconds.

It's arguable if it's long, especially in perspective of the whole test suite, that we have (and I really doubt, that there's anybody that run all tests locally before pushing any change to gerrit).

What do You think about that @Dalba ? Do You want to change searched word to something else? What will be so universally to be usefull on all sites, that we could test?TASK DETAILhttps://phabricator.wikimedia.org/T151369EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MagulCc: Dalba, gerritbot, pywikibot-bugs-list, Aklapper, Magul, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, jayvdb, Masti, Alchimista, Rxy___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T151369: test_search_where is failing on Travis

2016-12-15 Thread gerritbot
gerritbot added a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T151369EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Magul, gerritbotCc: gerritbot, pywikibot-bugs-list, Aklapper, Magul, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, jayvdb, Dalba, Masti, Alchimista, Rxy___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs