]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_system: RSA keys are even more variable than I thought, 2044..2049
authorBrian Warner <warner@lothar.com>
Thu, 8 Nov 2007 12:04:11 +0000 (05:04 -0700)
committerBrian Warner <warner@lothar.com>
Thu, 8 Nov 2007 12:04:11 +0000 (05:04 -0700)
src/allmydata/test/test_system.py

index 2616189394bfbaed0d4443cba7626246da943164..8514aca4354138afa28cce96749e741e506e8c9f 100644 (file)
@@ -299,11 +299,11 @@ class SystemTest(testutil.SignalMixin, unittest.TestCase):
                 m = re.search(r'^ container_size: (\d+)$', output, re.M)
                 self.failUnless(m)
                 container_size = int(m.group(1))
-                self.failUnless(2045 <= container_size <= 2049, container_size)
+                self.failUnless(2044 <= container_size <= 2049, container_size)
                 m = re.search(r'^ data_length: (\d+)$', output, re.M)
                 self.failUnless(m)
                 data_length = int(m.group(1))
-                self.failUnless(2045 <= data_length <= 2049, data_length)
+                self.failUnless(2044 <= data_length <= 2049, data_length)
                 self.failUnless("  secrets are for nodeid: %s\n" % peerid
                                 in output)
                 self.failUnless(" SDMF contents:\n" in output)