]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_download.DownloadTest.test_simultaneous_goodguess: enable some disabled
authorBrian Warner <warner@lothar.com>
Thu, 5 Aug 2010 18:41:08 +0000 (11:41 -0700)
committerBrian Warner <warner@lothar.com>
Thu, 5 Aug 2010 18:55:07 +0000 (11:55 -0700)
checks that used to fail but work now.

src/allmydata/test/test_download.py

index 7a26a00097295637a4fa259c1d6cbae5b1613daa..add4d24b5f02958760103906518a7fd1dae30e2c 100644 (file)
@@ -406,14 +406,13 @@ class DownloadTest(_Base, unittest.TestCase):
             n._cnode._maybe_create_download_node()
             n._cnode._node._build_guessed_tables(u.max_segment_size)
             d1 = n.read(con1, 70, 20)
-            #d2 = n.read(con2, 140, 20) # XXX
-            d2 = defer.succeed(None)
+            d2 = n.read(con2, 140, 20)
             return defer.gatherResults([d1,d2])
         d.addCallback(_uploaded)
         def _done(res):
             self.failUnlessEqual("".join(con1.chunks), plaintext[70:90])
             self.failUnlessEqual("".join(con2.chunks), plaintext[140:160])
-        #d.addCallback(_done)
+        d.addCallback(_done)
         return d
 
     def test_sequential_goodguess(self):