Commit Graph

14 Commits

Author SHA1 Message Date
evazion
98b0b2c5d8 tests: fix Net::HTTP::Persistent::Error: too many connection resets.
Works around connection reset errors in the test suite by disabling
persistent connections.

  20) Error:
Sources::PixivTest#test_: in all cases fetching source data for a new manga image should get the tags. :
Net::HTTP::Persistent::Error: too many connection resets (due to closed stream - IOError) after 0 requests on 47071328584700, last used 1.842702476 seconds ago
  app/logical/pixiv_web_agent.rb:46:in `build'
  app/logical/sources/strategies/pixiv.rb:104:in `agent'
  app/logical/sources/strategies/pixiv.rb:72:in `get'
  app/logical/sources/site.rb:6:in `get'
  test/unit/sources/pixiv_test.rb:7:in `get_source'
  test/unit/sources/pixiv_test.rb:64:in `block (3 levels) in <class:PixivTest>'

ref: github.com/sparklemotion/mechanize/issues/123
ref: http://www.rubydoc.info/gems/mechanize/Mechanize#retry_change_requests%3D-instance_method
2017-02-04 17:07:00 -06:00
r888888888
0b396124d6 handle comic.pixiv.net being down gracefully 2016-10-02 19:59:54 -07:00
r888888888
aa77ba3874 initial support for pixiv comic sessions 2016-06-14 11:59:09 -07:00
r888888888
45e5ea817a update tests 2016-06-12 15:12:30 -07:00
r888888888
d206b210c8 fix pixiv web agent to use new login scheme 2016-06-12 14:48:53 -07:00
r888888888
2f3d7bc0d1 change pixiv login page 2016-06-11 23:12:03 -07:00
r888888888
58aa5c6d66 fix tests 2016-05-28 14:08:44 -07:00
r888888888
84857e7a3e fix pixiv web agent 2016-05-12 14:01:35 -07:00
r888888888
34a6b30684 disable pixiv session auth 2016-05-12 11:22:39 -07:00
r888888888
50bc9f5983 update for new pixiv login 2016-03-16 10:18:29 -07:00
r888888888
d59b442f38 fix for pixiv 2015-03-29 23:16:29 -07:00
Toks
fd438cedc8 fix logging into pixiv 2015-03-29 22:34:54 -04:00
r888888888
8d4c9d7955 fix pixiv tests 2014-10-22 17:22:36 -07:00
r888888888
3bb06c2be4 integrate ugoiras into zip+webm+preview 2014-10-19 02:30:02 -07:00