~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-03-24 06:40:26 UTC
  • mfrom: (4160.2.16 bzrdir-open-gaol)
  • Revision ID: pqm@pqm.ubuntu.com-20090324064026-a5a7mmoiaev5mpc9
(andrew) Strengthen the smart server's jail,
        and add ignore_fallbacks parameter to BzrDir.open_branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
302
302
        self.reset_smart_call_log()
303
303
        out, err = self.run_bzr(['branch', self.get_url('feature'),
304
304
            'local-target'])
305
 
        rpc_count = len(self.hpss_calls)
306
305
        # This figure represent the amount of work to perform this use case. It
307
306
        # is entirely ok to reduce this number if a test fails due to rpc_count
308
307
        # being too low. If rpc_count increases, more network roundtrips have
309
308
        # become necessary for this use case. Please do not adjust this number
310
309
        # upwards without agreement from bzr's network support maintainers.
311
 
        self.assertEqual(74, rpc_count)
 
310
        self.assertLength(23, self.hpss_calls)
312
311
 
313
312
 
314
313
class TestRemoteBranch(TestCaseWithSFTPServer):