Test spends too long in wait()
John Arbash Meinel
john at arbash-meinel.com
Wed Apr 26 23:42:18 BST 2006
When running bzr selftest, I found that:
TransportImplementation.test_connection_error(SFTPHomeDirServer)
Will SKIP, and report that it only takes 1ms to run. But really it hangs
for a fairly long time (~5s).
If you ^C while it is hanging it shows that it is in wait() status.
So I'm thinking it is an issue that raising TestSkipped() in an SFTP
tests never tells the server thread to exit.
I'm not sure what the best method to fix this is.
Would it be better if cleanup code was called even if the test was
skipped? (I'm assuming that is where the server is told to shutdown).
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060426/1ba50e09/attachment.pgp
More information about the bazaar
mailing list