Local lp: resolution could be tested against Launchpad
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
With fixing bug #397739 , Bazaar will now try to resolve 'lp:' style urls locally, rather than always querying the remote XMLRPC server. There are tests that it conforms to how we think it is supposed to be done. But the only definitive response is to actually make the XMLRPC request and compare the results.
We could add some tests that query Launchpad, and compare the results to the local logic. We would want these to be part of a feature that could be easily disabled.
For example, the Launchpad build machines can't actually make outside queries. So if we are running the test suite before allowing a build to be accepted into Ubuntu, we have to disable them.
Also, the tests are likely to be slow. XMLRPC seems to easily take 1s for each response. (sets up an SSL handshake, and then the round-trips for the requests.)
Most likely we'd like these tests off by default, but could enable them for something like babune.
tags: | added: check-for-breezy |
One way to tackle this would be a -E test flag that gives the lp base
url to use; then the tests can skip if it's not set.