~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Robert Collins
  • Date: 2009-03-03 05:50:55 UTC
  • mto: (4070.2.5 integration)
  • mto: This revision was merged to the branch mainline in revision 4075.
  • Revision ID: robertc@robertcollins.net-20090303055055-0g2rfypt83bapygo
Alter branch sprouting with an alternate fix for stacked branches that does not require multiple copy_content_into and set_parent calls, reducing IO and round trips.

Show diffs side-by-side

added added

removed removed

Lines of Context:
273
273
        # being too low. If rpc_count increases, more network roundtrips have
274
274
        # become necessary for this use case. Please do not adjust this number
275
275
        # upwards without agreement from bzr's network support maintainers.
276
 
        self.assertEqual(95, rpc_count)
 
276
        self.assertEqual(71, rpc_count)
277
277
 
278
278
    def test_branch_from_trivial_branch_streaming_acceptance(self):
279
279
        self.setup_smart_server_with_call_log()
289
289
        # being too low. If rpc_count increases, more network roundtrips have
290
290
        # become necessary for this use case. Please do not adjust this number
291
291
        # upwards without agreement from bzr's network support maintainers.
292
 
        self.assertEqual(21, rpc_count)
 
292
        self.assertEqual(17, rpc_count)
293
293
 
294
294
 
295
295
class TestRemoteBranch(TestCaseWithSFTPServer):