~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-02-23 01:26:23 UTC
  • mfrom: (4029.2.1 fetch.RemoteSink)
  • Revision ID: pqm@pqm.ubuntu.com-20090223012623-0epa5dpnb7sk0tef
(robertc) Alter Repository.insert_stream to support stacked branches.
        (Andrew Bennetts, Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
202
202
        # being too low. If rpc_count increases, more network roundtrips have
203
203
        # become necessary for this use case. Please do not adjust this number
204
204
        # upwards without agreement from bzr's network support maintainers.
205
 
        self.assertEqual(61, rpc_count)
 
205
        self.assertEqual(60, rpc_count)
206
206
 
207
207
    def test_push_smart_stacked_streaming_acceptance(self):
208
208
        self.setup_smart_server_with_call_log()
219
219
        # being too low. If rpc_count increases, more network roundtrips have
220
220
        # become necessary for this use case. Please do not adjust this number
221
221
        # upwards without agreement from bzr's network support maintainers.
222
 
        self.assertEqual(101, rpc_count)
 
222
        self.assertEqual(85, rpc_count)
223
223
        remote = Branch.open('public')
224
224
        self.assertEndsWith(remote.get_stacked_on_url(), '/parent')
225
225