mirror of https://github.com/scrapy/scrapy.git
Stop test_storage from expiring its cache entry on slow runners (#7993)
This commit is contained in:
parent
be514d8c5d
commit
ca48915dd4
|
|
@ -112,7 +112,7 @@ class StorageTestMixin(TestBase):
|
|||
raise NotImplementedError
|
||||
|
||||
def test_storage(self):
|
||||
with self._storage(HTTPCACHE_EXPIRATION_SECS=1) as (storage, crawler):
|
||||
with self._storage(HTTPCACHE_EXPIRATION_SECS=100) as (storage, crawler):
|
||||
request2 = self.request.copy()
|
||||
assert storage.retrieve_response(crawler.spider, request2) is None
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue