From: Brian Warner Date: Thu, 5 Aug 2010 18:41:08 +0000 (-0700) Subject: test_download.DownloadTest.test_simultaneous_goodguess: enable some disabled X-Git-Tag: allmydata-tahoe-1.8.0b2~7 X-Git-Url: https://git.rkrishnan.org/%5B/frontends//%22%22?a=commitdiff_plain;h=a0124e95eee4c1fd123e09c816cf04dd4eb7dae2;p=tahoe-lafs%2Ftahoe-lafs.git test_download.DownloadTest.test_simultaneous_goodguess: enable some disabled checks that used to fail but work now. --- diff --git a/src/allmydata/test/test_download.py b/src/allmydata/test/test_download.py index 7a26a000..add4d24b 100644 --- a/src/allmydata/test/test_download.py +++ b/src/allmydata/test/test_download.py @@ -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):