~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Robert Collins
  • Date: 2009-02-24 05:37:17 UTC
  • mto: This revision was merged to the branch mainline in revision 4038.
  • Revision ID: robertc@robertcollins.net-20090224053717-sau62hnxgo2f1pzr
Create and use a RPC call to create branches on bzr servers rather than using VFS calls.

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(64, rpc_count)
 
205
        self.assertEqual(40, 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(88, rpc_count)
 
222
        self.assertEqual(65, rpc_count)
223
223
        remote = Branch.open('public')
224
224
        self.assertEndsWith(remote.get_stacked_on_url(), '/parent')
225
225