mirror of https://github.com/scrapy/scrapy.git
it is not possible to enforce an upper limit when latency is out of control
This commit is contained in:
parent
3eb5d5e931
commit
d7e11082f2
|
|
@ -47,8 +47,6 @@ class CrawlTestCase(TestCase):
|
|||
tolerance = 0.6 if randomize else 0.2
|
||||
self.assertTrue(avgd > delay * (1 - tolerance),
|
||||
"download delay too small: %s" % avgd)
|
||||
self.assertTrue(avgd < delay * (1 + tolerance),
|
||||
"download delay too big: %s" % avgd)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def test_timeout_success(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue