Paramiko sftp tests fail if prefetch() set

John A Meinel john at arbash-meinel.com
Mon Nov 28 14:56:04 GMT 2005


I found that on my linux box, the tests also fail if you have prefetch
enabled, and I think I know why.

In one portion of the test suite we test that if you get a file, but try
to put it into a directory that doesn't exist, you will get a certain
exception (test_copy_to())
The issue is that we try to copy a file, make sure it fails, and then
try to copy that file again.

I'm wondering if it isn't something about the second get() after the
first never finished. I don't know if the file handle is still open, and
doesn't want to open a new one.

I know that is where the code is hanging, I'm just not positive as to
why. This is as of robey at lag.net--2005/paramiko--dev--1--patch-11

Unfortunately, it is difficult with Arch to figure out what change you
did which actually caused the problem, since you official release is
only merges from your laptop.

John
=:->


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051128/5afcd277/attachment.pgp 


More information about the bazaar mailing list