/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_smart_signals.py

  • Committer: Jelmer Vernooij
  • Date: 2018-08-08 02:10:06 UTC
  • mto: This revision was merged to the branch mainline in revision 7064.
  • Revision ID: jelmer@jelmer.uk-20180808021006-kqutco7h7pnf7ird
Fix flaky test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
        client_medium = medium.SmartSimplePipesClientMedium(client_read,
176
176
                            client_write, 'base')
177
177
        client_client = client._SmartClient(client_medium)
178
 
        resp, response_handler = client_client.call_expecting_body('get',
179
 
            'bigfile')
 
178
        resp, response_handler = client_client.call_expecting_body(b'get',
 
179
            b'bigfile')
180
180
        signals._sighup_handler(SIGHUP, None)
181
181
        self.assertTrue(factory.smart_server.finished)
182
182
        # We can still finish reading the file content, but more than that, and