From c350f6216b442c037869e0481d120a401a2424fa Mon Sep 17 00:00:00 2001 From: binux Date: Tue, 17 Apr 2018 20:47:33 -0700 Subject: [PATCH] using reserved ip address for testing rolling out version 0.3.10 --- pyspider/__init__.py | 2 +- tests/test_fetcher_processor.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyspider/__init__.py b/pyspider/__init__.py index df929893c..c6ac23af5 100644 --- a/pyspider/__init__.py +++ b/pyspider/__init__.py @@ -5,4 +5,4 @@ # http://binux.me # Created on 2014-11-17 19:17:12 -__version__ = '0.3.10-dev' +__version__ = '0.3.10' diff --git a/tests/test_fetcher_processor.py b/tests/test_fetcher_processor.py index 0cab66fbd..e2b11ba23 100644 --- a/tests/test_fetcher_processor.py +++ b/tests/test_fetcher_processor.py @@ -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)