https://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/revision/6590

(vila) Fix test failure on recent trusty kernels (the failure can't be
 reproduced in a trusty chroot with a saucy kernel). (Vincent Ladeuil)

* Remove wrong assumption about how TCP server and client interact when run
  inside the same process. (Vincent Ladeuil, #1269886).

--- a/bzrlib/tests/test_smart_transport.py	2013-06-24 12:03:12 +0000
+++ b/bzrlib/tests/test_smart_transport.py	2014-02-07 10:20:38 +0000
@@ -1453,9 +1453,6 @@
         server._stopped.wait()
         # It should not be accepting another connection.
         self.assertRaises(socket.error, self.connect_to_server, server)
-        # It should also not be fully stopped
-        server._fully_stopped.wait(0.01)
-        self.assertFalse(server._fully_stopped.isSet())
         response_handler.read_body_bytes()
         client_sock.close()
         server_side_thread.join()

