Last modified: 2014-11-10 01:53:28 UTC
The following tests take longer than 10s on travis-ci for the enwp py2.7 build testQueryApiGetter (tests.wikidataquery_tests.TestApiSlowFunctions) ... 10.522s ok ... testLinkMethods (tests.site_tests.TestSiteObject) Test site methods for getting links to and from a page ... Retrieving 5 pages from wikipedia:en. 344.035s ok ... testWebCiteOlder (tests.weblib_tests.TestArchiveSites) ... 16.051s ok ... testLinks (tests.page_tests.TestPageObject) ... 15.409s ok ... https://travis-ci.org/wikimedia/pywikibot-core/jobs/30944822 testLinkMethods is the worst, and many parts of it do not depend on the initialisation at the beginning of the method.
Change 160192 had a related patch set uploaded by John Vandenberg: Disable very slow tests https://gerrit.wikimedia.org/r/160192
still need to fix the tests
https://travis-ci.org/wikimedia/pywikibot-core/jobs/40468767 testLinkMethods (tests.site_tests.TestSiteObject) Test site methods for getting links to and from a page. ... Sleeping for 120.0 seconds, 2014-11-09 17:05:51 No output has been received in the last 10 minutes, this potentially indicates a stalled build or something wrong with the build itself. The build has been terminated
All tests which use statically configured sites (aka family/code set or sites) only need to be run once. Maybe we can set a environment variable which doesn't execute such tests.