~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 01:11:57 UTC
  • mfrom: (4032.3.8 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090225011157-xn0w5zux5mrges6j
(robertc) Move write locking and write group responsibilities into
        the Sink objects themselves,
        allowing complete avoidance of unnecessary calls when the sink is a
        RemoteSink. (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(36, rpc_count)
 
205
        self.assertEqual(32, 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(65, rpc_count)
 
222
        self.assertEqual(61, rpc_count)
223
223
        remote = Branch.open('public')
224
224
        self.assertEndsWith(remote.get_stacked_on_url(), '/parent')
225
225