diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-10-31 06:06:20 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-10-30 23:10:58 -0700 |
commit | 96b247571511935be5564f988bb64b180e4cd888 (patch) | |
tree | b8701be07eacc0423b380e8bdf05a13e77018b78 | |
parent | 49acd52b3f67d5be433babc38a28ea6865af38a5 (diff) | |
download | unicorn-96b247571511935be5564f988bb64b180e4cd888.tar.gz |
Not documented on FreeBSD 7.2, but it seems to happen there and searching around, it seems to happen on other systems, too...
-rw-r--r-- | test/test_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb index 404bcb2..3bdbeb1 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -145,7 +145,7 @@ def retry_hit(uris = []) tries = DEFAULT_TRIES begin hit(uris) - rescue Errno::ECONNREFUSED => err + rescue Errno::EINVAL, Errno::ECONNREFUSED => err if (tries -= 1) > 0 sleep DEFAULT_RES retry |