Merge lp:~frankban/launchpad/bug-996720 into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | j.c.sackett on 2012-05-31 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 15345 |
| Proposed branch: | lp:~frankban/launchpad/bug-996720 |
| Merge into: | lp:launchpad |
| Diff against target: |
219 lines (+82/-64) 2 files modified
lib/lp/soyuz/javascript/lp_dynamic_dom_updater.js (+35/-25) lib/lp/soyuz/javascript/tests/lp_dynamic_dom_updater.js (+47/-39) |
| To merge this branch: | bzr merge lp:~frankban/launchpad/bug-996720 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| j.c.sackett (community) | 2012-05-31 | Approve on 2012-05-31 | |
|
Review via email:
|
|||
Commit Message
The bug: lib/lp/
Description of the Change
= Summary =
lib/lp/
This doesn't seem a test ordering or isolation issue, and it's not possible to reproduce the failure using the worker list attached to the bug. This seems to be a timing issue produced when the test is run in a heavy loaded machine, like the ec2 instances we use in parallel tests.
== Proposed fix ==
Many of the tests in lib/lp/
== Pre-implementation notes ==
Benji gave me a hint about the direction to follow.
== Implementation details ==
lib/lp/
Created a separate function that updates the polling interval, given the elapsed time.
lib/lp/
The new function is now directly tested, and we can pass arbitrary elapsed times without having to mock _request_start.
s/constants/
== Tests ==
$ xvfb-run bin/test -cvvt lib/lp/
== Demo and Q/A ==
no qa

This looks fine to land.