~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_transport.py

  • Committer: Patch Queue Manager
  • Date: 2014-02-10 10:02:30 UTC
  • mfrom: (6589.1.1 1269886-test-failure)
  • Revision ID: pqm@pqm.ubuntu.com-20140210100230-qwdxah7k01yaz51f
(vila) Fix test failure on recent trusty kernels (the failure can't be
 reproduced in a trusty chroot with a saucy kernel). (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1453
1453
        server._stopped.wait()
1454
1454
        # It should not be accepting another connection.
1455
1455
        self.assertRaises(socket.error, self.connect_to_server, server)
1456
 
        # It should also not be fully stopped
1457
 
        server._fully_stopped.wait(0.01)
1458
 
        self.assertFalse(server._fully_stopped.isSet())
1459
1456
        response_handler.read_body_bytes()
1460
1457
        client_sock.close()
1461
1458
        server_side_thread.join()