connect_timeout: match :timeout if unset
commita1ec69ae682841fdd62a72b6d50df394d407752a
authorEric Wong <e@80x24.org>
Wed, 31 Aug 2016 07:06:55 +0000 (31 07:06 +0000)
committerEric Wong <e@80x24.org>
Wed, 31 Aug 2016 07:08:14 +0000 (31 07:08 +0000)
tree3bd74820f9f904db5ce480f02c2690eb4b8d89bb
parent68e8a22d5eafae68caefdee248891ac523f48033
connect_timeout: match :timeout if unset

And add some weak tests while we're at it.
Actually simulating a connection timeout on localhost
will be difficult.
lib/mogilefs/backend.rb
test/test_backend.rb