Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
using reserved ip address for testing
Browse files Browse the repository at this point in the history
rolling out version 0.3.10
  • Loading branch information
binux committed Apr 18, 2018
1 parent 1e45731 commit c350f62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyspider/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# http://binux.me
# Created on 2014-11-17 19:17:12

__version__ = '0.3.10-dev'
__version__ = '0.3.10'
2 changes: 1 addition & 1 deletion tests/test_fetcher_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,6 @@ def test_zzz_robots_txt(self):

def test_zzz_connect_timeout(self):
start_time = time.time()
status, newtasks, result = self.crawl('http://10.123.321.25/', connect_timeout=5, callback=self.catch_http_error)
status, newtasks, result = self.crawl('http://240.0.0.1/', connect_timeout=5, callback=self.catch_http_error)
end_time = time.time()
self.assertTrue(5 <= end_time - start_time <= 6)

0 comments on commit c350f62

Please sign in to comment.