/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2011-12-14 20:21:52 UTC
  • mto: This revision was merged to the branch mainline in revision 6407.
  • Revision ID: jelmer@samba.org-20111214202152-dbyuyx6qk3gy1p3q
Test connection count calls for most blackbox commands.

Show diffs side-by-side

added added

removed removed

Lines of Context:
187
187
        # become necessary for this use case. Please do not adjust this number
188
188
        # upwards without agreement from bzr's network support maintainers.
189
189
        self.assertLength(17, self.hpss_calls)
 
190
        self.assertLength(1, self.hpss_connections)
190
191
        self.expectFailure("checkouts require VFS access",
191
192
            self.assertThat, self.hpss_calls, ContainsNoVfsCalls)
192
193
 
203
204
        # being too low. If rpc_count increases, more network roundtrips have
204
205
        # become necessary for this use case. Please do not adjust this number
205
206
        # upwards without agreement from bzr's network support maintainers.
 
207
        self.assertLength(1, self.hpss_connections)
206
208
        if len(self.hpss_calls) < 34 or len(self.hpss_calls) > 48:
207
209
            self.fail(
208
210
                "Incorrect length: wanted between 34 and 48, got %d for %r" % (