about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-10-31 06:06:20 +0000
committerEric Wong <normalperson@yhbt.net>2009-10-30 23:10:58 -0700
commit96b247571511935be5564f988bb64b180e4cd888 (patch)
treeb8701be07eacc0423b380e8bdf05a13e77018b78 /test
parent49acd52b3f67d5be433babc38a28ea6865af38a5 (diff)
downloadunicorn-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...
Diffstat (limited to 'test')
-rw-r--r--test/test_helper.rb2
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