~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Patch Queue Manager
  • Date: 2011-11-28 13:54:33 UTC
  • mfrom: (6280.9.12 hpss-get-revisions)
  • Revision ID: pqm@pqm.ubuntu.com-20111128135433-xoddhlxx9qgi4u5k
(jelmer) Add a ``Repository.iter_revisions`` HPSS call. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
164
164
        # being too low. If rpc_count increases, more network roundtrips have
165
165
        # become necessary for this use case. Please do not adjust this number
166
166
        # upwards without agreement from bzr's network support maintainers.
167
 
        self.assertLength(53, self.hpss_calls)
 
167
        self.assertLength(54, self.hpss_calls)
168
168
 
169
169
    def test_verify_commits(self):
170
170
        self.setup_smart_server_with_call_log()
186
186
        # The number of readv requests seems to vary depending on the generated
187
187
        # repository and how well it compresses, so allow for a bit of
188
188
        # variation:
189
 
        if len(self.hpss_calls) not in (21, 22):
190
 
            self.fail("Incorrect length: wanted 21 or 22, got %d for %r" % (
 
189
        if len(self.hpss_calls) not in (20, 21):
 
190
            self.fail("Incorrect length: wanted 20 or 21, got %d for %r" % (
191
191
                len(self.hpss_calls), self.hpss_calls))