~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Patch Queue Manager
  • Date: 2011-12-14 21:50:54 UTC
  • mfrom: (6282.6.43 hpss-get-inventories)
  • Revision ID: pqm@pqm.ubuntu.com-20111214215054-kbzhlka9gtbd4zd7
(jelmer) Add HPSS call for retrieving inventories. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
483
483
        # being too low. If rpc_count increases, more network roundtrips have
484
484
        # become necessary for this use case. Please do not adjust this number
485
485
        # upwards without agreement from bzr's network support maintainers.
486
 
        self.assertLength(40, self.hpss_calls)
 
486
        self.assertLength(33, self.hpss_calls)
487
487
        self.expectFailure("branching to the same branch requires VFS access",
488
488
            self.assertThat, self.hpss_calls, ContainsNoVfsCalls)
489
489
 
521
521
        # being too low. If rpc_count increases, more network roundtrips have
522
522
        # become necessary for this use case. Please do not adjust this number
523
523
        # upwards without agreement from bzr's network support maintainers.
524
 
        self.assertThat(self.hpss_calls, ContainsNoVfsCalls)
525
524
        self.assertLength(15, self.hpss_calls)
 
525
        self.assertThat(self.hpss_calls, ContainsNoVfsCalls)
526
526
 
527
527
    def test_branch_from_branch_with_tags(self):
528
528
        self.setup_smart_server_with_call_log()
539
539
        # being too low. If rpc_count increases, more network roundtrips have
540
540
        # become necessary for this use case. Please do not adjust this number
541
541
        # upwards without agreement from bzr's network support maintainers.
 
542
        self.assertLength(10, self.hpss_calls)
542
543
        self.assertThat(self.hpss_calls, ContainsNoVfsCalls)
543
 
        self.assertLength(10, self.hpss_calls)
544
544
 
545
545
    def test_branch_to_stacked_from_trivial_branch_streaming_acceptance(self):
546
546
        self.setup_smart_server_with_call_log()