[Pywikipedia-bugs] [Maniphest] [Commented On] T89769: testQueryApiGetter timeout failure

2016-03-18 Thread jayvdb
jayvdb added a comment. Almost every Travis build now includes a failure of this service. We should attempt to verify that how long this server operation usually takes, and increase the timeouts during this test accordingly. TASK DETAIL https://phabricator.wikimedia.org/T89769 EMAIL PREF

[Pywikipedia-bugs] [Maniphest] [Commented On] T89769: testQueryApiGetter timeout failure

2015-06-18 Thread XZise
XZise added a comment. Okay it now happened on Travis and the site properly returns a 502 status code as seen in line 1438 : testQueryApiGetter (tests.wikidataquery_tests.TestApiSlowFunctions) Test that we can actually r

[Pywikipedia-bugs] [Maniphest] [Commented On] T89769: testQueryApiGetter timeout failure

2015-06-10 Thread XZise
XZise added a comment. Okay looking more closely at `error_handling_callback` it won't fail when the status code is not 200 or 207 but just emit a warning. That means our wikidataquery module is getting the response which is actually an error message but tries to parse it as JSON. Now we could

[Pywikipedia-bugs] [Maniphest] [Commented On] T89769: testQueryApiGetter timeout failure

2015-06-10 Thread XZise
XZise added a subscriber: XZise. XZise added a comment. Maybe the server is not actually returning 502 in the status code? Or if we are unlucky this is actually related to Requests not properly propagating the status code. TASK DETAIL https://phabricator.wikimedia.org/T89769 EMAIL PREFERENC