Rev 5604: NEWS/bzr-2.3.txt for dealing with bug #681047 in http://bazaar.launchpad.net/~jameinel/bzr/2.3-per-transport-tests

John Arbash Meinel john at arbash-meinel.com
Wed Jan 12 22:12:31 UTC 2011


At http://bazaar.launchpad.net/~jameinel/bzr/2.3-per-transport-tests

------------------------------------------------------------
revno: 5604
revision-id: john at arbash-meinel.com-20110112221224-v5nws3bt9o787mjd
parent: john at arbash-meinel.com-20110112215012-t0txn194567c9xj7
fixes bug(s): https://launchpad.net/bugs/681047
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.3-per-transport-tests
timestamp: Wed 2011-01-12 16:12:24 -0600
message:
  NEWS/bzr-2.3.txt for dealing with bug #681047
-------------- next part --------------
=== modified file 'doc/en/release-notes/bzr-2.3.txt'
--- a/doc/en/release-notes/bzr-2.3.txt	2011-01-12 18:26:01 +0000
+++ b/doc/en/release-notes/bzr-2.3.txt	2011-01-12 22:12:24 +0000
@@ -69,6 +69,13 @@
   trying to set the tags in the master branch. This had been broken by the
   bug fix for bug #603395.  (John Arbash Meinel, #701212)
 
+* Per-transport tests now prefer to use ``Transport.get_bytes()`` rather
+  than ``Transport.get().read()``. The SFTP code uses an async message to
+  close the file handle if you let the handle die from refcounting, while
+  it uses a synchronous message if you close it directly. This should help
+  prevent random test suite failures from race conditions.
+  (John Arbash Meinel, #681047)
+
 * Stop using ``bzrlib.tuned_gzip.GzipFile``. It is incompatible with
   python-2.7 and was only used for Knit format repositories, which haven't
   been recommended since 2007. The file itself will be removed in the next



More information about the bazaar-commits mailing list