~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-25 06:35:28 UTC
  • mfrom: (4044.1.5 push.roundtrips)
  • Revision ID: pqm@pqm.ubuntu.com-20090225063528-m6c41lna1xu4bdwm
(robertc) Remove a wasted round trip determining whether a repository
        wants working trees made when we cannot create a working tree
        anyway due to the bzrdir being on a non-local path. (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(28, rpc_count)
 
205
        self.assertEqual(27, 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(55, rpc_count)
 
222
        self.assertEqual(54, rpc_count)
223
223
        remote = Branch.open('public')
224
224
        self.assertEndsWith(remote.get_stacked_on_url(), '/parent')
225
225