~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_transport.py

Remove another XXX, and include test ID in smart server thread names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
955
955
            def get_bytes(self, path):
956
956
                raise Exception("some random exception from inside server")
957
957
        smart_server = server.SmartTCPServer(backing_transport=FlakyTransport())
958
 
        smart_server.start_background_thread()
 
958
        smart_server.start_background_thread('-' + self.id())
959
959
        try:
960
960
            transport = remote.RemoteTCPTransport(smart_server.get_url())
961
961
            try:
991
991
            self.real_backing_transport = self.backing_transport
992
992
            self.backing_transport = get_transport("readonly+" + self.backing_transport.abspath('.'))
993
993
        self.server = server.SmartTCPServer(self.backing_transport)
994
 
        self.server.start_background_thread()
 
994
        self.server.start_background_thread('-' + self.id())
995
995
        self.transport = remote.RemoteTCPTransport(self.server.get_url())
996
996
        self.addCleanup(self.tearDownServer)
997
997