~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_push.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-04-27 06:47:50 UTC
  • mfrom: (4294.2.12 push.roundtrips)
  • Revision ID: pqm@pqm.ubuntu.com-20090427064750-e9obd6h83omt86ps
(robertc) Reduce roundtrips needed to push a new branch by coalescing
        many steps of the initialisation process. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
201
201
        # being too low. If rpc_count increases, more network roundtrips have
202
202
        # become necessary for this use case. Please do not adjust this number
203
203
        # upwards without agreement from bzr's network support maintainers.
204
 
        self.assertLength(19, self.hpss_calls)
 
204
        self.assertLength(11, self.hpss_calls)
205
205
 
206
206
    def test_push_smart_stacked_streaming_acceptance(self):
207
207
        self.setup_smart_server_with_call_log()
217
217
        # being too low. If rpc_count increases, more network roundtrips have
218
218
        # become necessary for this use case. Please do not adjust this number
219
219
        # upwards without agreement from bzr's network support maintainers.
220
 
        self.assertLength(23, self.hpss_calls)
 
220
        self.assertLength(18, self.hpss_calls)
221
221
        remote = Branch.open('public')
222
222
        self.assertEndsWith(remote.get_stacked_on_url(), '/parent')
223
223