patch: more sftp unit tests
Robert Collins
robertc at robertcollins.net
Thu Dec 15 02:10:09 GMT 2005
On Mon, 2005-12-12 at 20:33 -0800, Robey Pointer wrote:
> > It could be the startup time for the ssh server. In which case we
> > could
> > consider spawning the SSH server at some other time, and clean it up
> > independently of each test case. Then each test case would just
> > tell the
> > SSH server what to consider as root, rather than spawning an entire
> > new one.
>
> I think this is the real problem. SSH negotiation is hard, and
> (currently) for each unit test, we do each side of the negotiation,
> sync up, do the test, then do a clean sync'd shutdown.
Can we profile this? I think connection sharing during the tests is
quite ugly for us - and I'd rather have a slightly slow (but not
hugely!) test suite that is clean. My main concern is that sftp
*appears* much slower than HTTP, and if that is the case, then its
concerning independently of the test suite : optimising the test suite
is a bandaid.
I've added this to http://bazaar.canonical.com/BzrWishlist as Robey has
indicated hes unlikely to have time for a bit :).
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051215/406ba74e/attachment.pgp
More information about the bazaar
mailing list