lp.services.webapp.tests.test_error.TestDatabaseErrorViews.test_disconnectionerror_view_integration fails intermittently/rarely in parallel tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Francesco Banconi |
Bug Description
Very similar to bug 974617. We should insert some retry code in this test just as we did for test_operationa
retries = 10
for i in xrange(retries):
try:
except urllib2.HTTPError as e:
if e.code != httplib.
else:
else:
raise TimeoutException(
The failure message is over here: http://
Related branches
- Benji York (community): Approve (code)
-
Diff: 65 lines (+21/-19)1 file modifiedlib/lp/services/webapp/tests/test_error.py (+21/-19)
- Gary Poster (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedlib/lp/services/webapp/tests/test_error.py (+1/-1)
Changed in launchpad: | |
assignee: | nobody → Francesco Banconi (frankban) |
status: | Triaged → In Progress |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Changed in launchpad: | |
status: | Triaged → In Progress |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Fixed in stable r15334 (http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 15334) by a commit, but not testable.