Merge lp://staging/~gary/launchpad/testfix into lp://staging/launchpad
Status: | Merged |
---|---|
Approved by: | Gary Poster |
Approved revision: | no longer in the source branch. |
Merged at revision: | 13853 |
Proposed branch: | lp://staging/~gary/launchpad/testfix |
Merge into: | lp://staging/launchpad |
Diff against target: |
64 lines (+36/-7) 1 file modified
lib/lp/codehosting/tests/test_acceptance.py (+36/-7) |
To merge this branch: | bzr merge lp://staging/~gary/launchpad/testfix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gary Poster (community) | Approve | ||
Review via email:
|
Commit message
add diagnostic information for when the lpserve test subprocess starts up incorrectly.
Description of the change
This testfix actually adds diagnostic information, rather than fixing the problem, because we cannot duplicate the problem locally or on buildbot in isolation.
I don't love this approach (with the prints and the string search for "error") but I don't see a compelling alternative either. Suggestions welcome.
When something fails in the server, you get something like this: http://
This is only used in a layer that is only used in the module in which it is defined, as verified by grep and by "./bin/test -vvc --layer=
If you make ForkingServerFo rTests a fixtures.Fixture then you *can*
use addDetail - and you *should* do this to avoid stomping on subunit
test output.