9858: Added Errno::EACCES exception handling just in case it tries to open a low...
authorLucas Di Pentima <lucas@curoverse.com>
Fri, 2 Sep 2016 20:16:00 +0000 (17:16 -0300)
committerLucas Di Pentima <lucas@curoverse.com>
Fri, 2 Sep 2016 20:16:00 +0000 (17:16 -0300)
apps/workbench/test/integration_helper.rb

index c133de0d6b16ef821e3c44dbb8357991b3de2dda..c94fc619f6227cca9c2fee319045fdd0b4fafeb9 100644 (file)
@@ -17,7 +17,7 @@ def available_port for_what
       STDERR.puts "Using port #{port} for #{for_what}"
       return port
     end
-  rescue Errno::EADDRINUSE => e
+  rescue Errno::EADDRINUSE, Errno::EACCES
     retry
   end
 end